406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
|
** /doc and /wiki pages. None of this implements required
** functionality, just nice-to-haves. Any calls after the first are
** no-ops.
*/
void document_emit_js(void){
static int once = 0;
if(0==once++){
builtin_fossil_js_bundle_or("pikchr", 0);
style_script_begin(__FILE__,__LINE__);
CX("window.addEventListener('load', "
"()=>window.fossil.pikchr.addSrcView(), "
"false);\n");
style_script_end();
}
}
|
|
|
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
|
** /doc and /wiki pages. None of this implements required
** functionality, just nice-to-haves. Any calls after the first are
** no-ops.
*/
void document_emit_js(void){
static int once = 0;
if(0==once++){
builtin_fossil_js_bundle_or("pikchr", NULL);
style_script_begin(__FILE__,__LINE__);
CX("window.addEventListener('load', "
"()=>window.fossil.pikchr.addSrcView(), "
"false);\n");
style_script_end();
}
}
|