Fossil SCM
Removed a bogus, but harmless, JS dep and corrected some copy/pasted docs.
Commit
2abc1ff42a4d3e1dbb91e09917f341a6cae776c1bb8fb0b71a4249b26cbac673
Parent
626c45609ea4797…
1 file changed
+3
-5
+3
-5
| --- src/style.c | ||
| +++ src/style.c | ||
| @@ -1521,11 +1521,11 @@ | ||
| 1521 | 1521 | fossil_free(zFull); |
| 1522 | 1522 | } |
| 1523 | 1523 | } |
| 1524 | 1524 | |
| 1525 | 1525 | /* |
| 1526 | -** The first time this is called, it emits the JS code from the | |
| 1526 | +** The first time this is called it emits the JS code from the | |
| 1527 | 1527 | ** built-in file fossil.fossil.js. Subsequent calls are no-ops. |
| 1528 | 1528 | ** |
| 1529 | 1529 | ** If passed a true value, it emits the contents directly |
| 1530 | 1530 | ** to the page output, else it emits a script tag with a |
| 1531 | 1531 | ** src=builtin/... to load the script. |
| @@ -1540,11 +1540,11 @@ | ||
| 1540 | 1540 | style_emit_script_builtin("fossil.fetch.js", asInline); |
| 1541 | 1541 | } |
| 1542 | 1542 | } |
| 1543 | 1543 | |
| 1544 | 1544 | /* |
| 1545 | -** The first time this is called, it emits the JS code from the | |
| 1545 | +** The first time this is called it emits the JS code from the | |
| 1546 | 1546 | ** built-in file fossil.dom.js. Subsequent calls are no-ops. |
| 1547 | 1547 | ** |
| 1548 | 1548 | ** If passed a true value, it emits the contents directly |
| 1549 | 1549 | ** to the page output, else it emits a script tag with a |
| 1550 | 1550 | ** src=builtin/... to load the script. |
| @@ -1576,20 +1576,18 @@ | ||
| 1576 | 1576 | style_emit_script_builtin("fossil.tabs.js",asInline); |
| 1577 | 1577 | } |
| 1578 | 1578 | } |
| 1579 | 1579 | |
| 1580 | 1580 | /* |
| 1581 | -** The first time this is called, it calls style_emit_script_dom(), | |
| 1582 | -** passing it the given asInline value, and emits the JS code from the | |
| 1581 | +** The first time this is called it emits the JS code from the | |
| 1583 | 1582 | ** built-in file fossil.confirmer.js. Subsequent calls are no-ops. |
| 1584 | 1583 | ** |
| 1585 | 1584 | ** If passed a true value, it emits the contents directly |
| 1586 | 1585 | ** to the page output, else it emits a script tag with a |
| 1587 | 1586 | ** src=builtin/... to load the script. |
| 1588 | 1587 | */ |
| 1589 | 1588 | void style_emit_script_confirmer(int asInline){ |
| 1590 | 1589 | static int once = 0; |
| 1591 | 1590 | if(0==once++){ |
| 1592 | - style_emit_script_dom(asInline); | |
| 1593 | 1591 | style_emit_script_builtin("fossil.confirmer.js",asInline); |
| 1594 | 1592 | } |
| 1595 | 1593 | } |
| 1596 | 1594 |
| --- src/style.c | |
| +++ src/style.c | |
| @@ -1521,11 +1521,11 @@ | |
| 1521 | fossil_free(zFull); |
| 1522 | } |
| 1523 | } |
| 1524 | |
| 1525 | /* |
| 1526 | ** The first time this is called, it emits the JS code from the |
| 1527 | ** built-in file fossil.fossil.js. Subsequent calls are no-ops. |
| 1528 | ** |
| 1529 | ** If passed a true value, it emits the contents directly |
| 1530 | ** to the page output, else it emits a script tag with a |
| 1531 | ** src=builtin/... to load the script. |
| @@ -1540,11 +1540,11 @@ | |
| 1540 | style_emit_script_builtin("fossil.fetch.js", asInline); |
| 1541 | } |
| 1542 | } |
| 1543 | |
| 1544 | /* |
| 1545 | ** The first time this is called, it emits the JS code from the |
| 1546 | ** built-in file fossil.dom.js. Subsequent calls are no-ops. |
| 1547 | ** |
| 1548 | ** If passed a true value, it emits the contents directly |
| 1549 | ** to the page output, else it emits a script tag with a |
| 1550 | ** src=builtin/... to load the script. |
| @@ -1576,20 +1576,18 @@ | |
| 1576 | style_emit_script_builtin("fossil.tabs.js",asInline); |
| 1577 | } |
| 1578 | } |
| 1579 | |
| 1580 | /* |
| 1581 | ** The first time this is called, it calls style_emit_script_dom(), |
| 1582 | ** passing it the given asInline value, and emits the JS code from the |
| 1583 | ** built-in file fossil.confirmer.js. Subsequent calls are no-ops. |
| 1584 | ** |
| 1585 | ** If passed a true value, it emits the contents directly |
| 1586 | ** to the page output, else it emits a script tag with a |
| 1587 | ** src=builtin/... to load the script. |
| 1588 | */ |
| 1589 | void style_emit_script_confirmer(int asInline){ |
| 1590 | static int once = 0; |
| 1591 | if(0==once++){ |
| 1592 | style_emit_script_dom(asInline); |
| 1593 | style_emit_script_builtin("fossil.confirmer.js",asInline); |
| 1594 | } |
| 1595 | } |
| 1596 |
| --- src/style.c | |
| +++ src/style.c | |
| @@ -1521,11 +1521,11 @@ | |
| 1521 | fossil_free(zFull); |
| 1522 | } |
| 1523 | } |
| 1524 | |
| 1525 | /* |
| 1526 | ** The first time this is called it emits the JS code from the |
| 1527 | ** built-in file fossil.fossil.js. Subsequent calls are no-ops. |
| 1528 | ** |
| 1529 | ** If passed a true value, it emits the contents directly |
| 1530 | ** to the page output, else it emits a script tag with a |
| 1531 | ** src=builtin/... to load the script. |
| @@ -1540,11 +1540,11 @@ | |
| 1540 | style_emit_script_builtin("fossil.fetch.js", asInline); |
| 1541 | } |
| 1542 | } |
| 1543 | |
| 1544 | /* |
| 1545 | ** The first time this is called it emits the JS code from the |
| 1546 | ** built-in file fossil.dom.js. Subsequent calls are no-ops. |
| 1547 | ** |
| 1548 | ** If passed a true value, it emits the contents directly |
| 1549 | ** to the page output, else it emits a script tag with a |
| 1550 | ** src=builtin/... to load the script. |
| @@ -1576,20 +1576,18 @@ | |
| 1576 | style_emit_script_builtin("fossil.tabs.js",asInline); |
| 1577 | } |
| 1578 | } |
| 1579 | |
| 1580 | /* |
| 1581 | ** The first time this is called it emits the JS code from the |
| 1582 | ** built-in file fossil.confirmer.js. Subsequent calls are no-ops. |
| 1583 | ** |
| 1584 | ** If passed a true value, it emits the contents directly |
| 1585 | ** to the page output, else it emits a script tag with a |
| 1586 | ** src=builtin/... to load the script. |
| 1587 | */ |
| 1588 | void style_emit_script_confirmer(int asInline){ |
| 1589 | static int once = 0; |
| 1590 | if(0==once++){ |
| 1591 | style_emit_script_builtin("fossil.confirmer.js",asInline); |
| 1592 | } |
| 1593 | } |
| 1594 |