Fossil SCM

Removed a bogus, but harmless, JS dep and corrected some copy/pasted docs.

stephan 2020-05-06 03:30 fileedit-ajaxify
Commit 2abc1ff42a4d3e1dbb91e09917f341a6cae776c1bb8fb0b71a4249b26cbac673
1 file changed +3 -5
+3 -5
--- src/style.c
+++ src/style.c
@@ -1521,11 +1521,11 @@
15211521
fossil_free(zFull);
15221522
}
15231523
}
15241524
15251525
/*
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
15271527
** built-in file fossil.fossil.js. Subsequent calls are no-ops.
15281528
**
15291529
** If passed a true value, it emits the contents directly
15301530
** to the page output, else it emits a script tag with a
15311531
** src=builtin/... to load the script.
@@ -1540,11 +1540,11 @@
15401540
style_emit_script_builtin("fossil.fetch.js", asInline);
15411541
}
15421542
}
15431543
15441544
/*
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
15461546
** built-in file fossil.dom.js. Subsequent calls are no-ops.
15471547
**
15481548
** If passed a true value, it emits the contents directly
15491549
** to the page output, else it emits a script tag with a
15501550
** src=builtin/... to load the script.
@@ -1576,20 +1576,18 @@
15761576
style_emit_script_builtin("fossil.tabs.js",asInline);
15771577
}
15781578
}
15791579
15801580
/*
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
15831582
** built-in file fossil.confirmer.js. Subsequent calls are no-ops.
15841583
**
15851584
** If passed a true value, it emits the contents directly
15861585
** to the page output, else it emits a script tag with a
15871586
** src=builtin/... to load the script.
15881587
*/
15891588
void style_emit_script_confirmer(int asInline){
15901589
static int once = 0;
15911590
if(0==once++){
1592
- style_emit_script_dom(asInline);
15931591
style_emit_script_builtin("fossil.confirmer.js",asInline);
15941592
}
15951593
}
15961594
--- 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

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button