Rev 16642 | Rev 16700 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 16642 | Rev 16643 | ||
---|---|---|---|
Line 1... | Line 1... | ||
1 | #include "canvasdraw.h" |
1 | #include "canvasdraw.h" |
2 | /* |
2 | /* |
3 | collection of javascript utilities (with no configurable parameters) |
3 | collection of javascript utilities (with no configurable parameters) |
4 | */ |
4 | */ |
5 | void add_javascript_function(){ |
5 | void add_javascript_function(){ |
6 | #ifdef |
6 | #ifdef KATEX_INSTALLED |
7 | char *mathjax="centered(xml_div,obj);"; |
7 | char *mathjax="centered(xml_div,obj);"; |
8 | #else |
8 | #else |
9 | char *mathjax="setTimeout(function(){centered(xml_div,obj)},100);"; |
9 | char *mathjax="setTimeout(function(){centered(xml_div,obj)},100);"; |
10 | #endif |
10 | #endif |
11 | int i; |
11 | int i; |