Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
| Comment: | Imported a 2-line polyfill for MSIE's missing NodeList.forEach, courtesy of the Mozilla docs. |
|---|---|
| Downloads: | Tarball | ZIP archive |
| Timelines: | family | ancestors | descendants | both | trunk |
| Files: | files | file ages | folders |
| SHA3-256: |
4dd270761d996e34cdd85acf2c60d757 |
| User & Date: | stephan 2020-08-08 17:09:07.313 |
Context
|
2020-08-08
| ||
| 17:18 | Fix documentation typo. ... (check-in: 08ab286028 user: drh tags: trunk) | |
| 17:09 | Imported a 2-line polyfill for MSIE's missing NodeList.forEach, courtesy of the Mozilla docs. ... (check-in: 4dd270761d user: stephan tags: trunk) | |
| 15:01 | More improvements to "fossil open": Make sure the --repodir is converted into a full pathname so that it is unaffected by --workdir. Report an error with --nested if the new repo would be rooted in the same directory as another repository. ... (check-in: 15a7b1fd37 user: drh tags: trunk) | |
Changes
Changes to src/style.c.
| ︙ | ︙ | |||
1439 1440 1441 1442 1443 1444 1445 |
static int once = 0;
if(0==once++){
/* Set up the generic/app-agnostic parts of window.fossil
** which require C-level state... */
if(addScriptTag!=0){
style_emit_script_tag(0,0);
}
| | > > > > > > | | 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 |
static int once = 0;
if(0==once++){
/* Set up the generic/app-agnostic parts of window.fossil
** which require C-level state... */
if(addScriptTag!=0){
style_emit_script_tag(0,0);
}
CX("(function(){\n");
CX(/*MSIE NodeList.forEach polyfill, courtesy of Mozilla:
https://developer.mozilla.org/en-US/docs/Web/API/NodeList/forEach#Polyfill
*/
"if(window.NodeList && !NodeList.prototype.forEach){"
"NodeList.prototype.forEach = Array.prototype.forEach;"
"}\n");
CX("if(!window.fossil) window.fossil={};\n"
"window.fossil.version = %!j;\n"
/* fossil.rootPath is the top-most CGI/server path,
** including a trailing slash. */
"window.fossil.rootPath = %!j+'/';\n",
get_version(), g.zTop);
/* fossil.config = {...various config-level options...} */
CX("window.fossil.config = {");
|
| ︙ | ︙ |