| [ Index ] |
PHP Cross Reference of DokuWiki |
[Source view] [Print] [Project Stats]
DokuWiki JavaScript creator
| Author: | Andreas Gohr |
| License: | GPL 2 (http://www.gnu.org/licenses/gpl.html) |
| File Size: | 405 lines (12 kb) |
| Included or required: | 1 time |
| Referenced: | 0 times |
| Includes or requires: | 5 files inc/pageutils.php inc/init.php inc/toolbar.php inc/JSON.php inc/io.php |
| js_out() X-Ref |
| Output all needed JavaScript author: Andreas Gohr <andi@splitbrain.org> |
| js_load($file) X-Ref |
| Load the given file, handle include calls and print it author: Andreas Gohr <andi@splitbrain.org> |
| js_cacheok($cache,$files) X-Ref |
| Checks if a JavaScript Cache file still is valid author: Andreas Gohr <andi@splitbrain.org> |
| js_pluginscripts() X-Ref |
| Returns a list of possible Plugin Scripts (no existance check here) author: Andreas Gohr <andi@splitbrain.org> |
| js_pluginstrings() X-Ref |
| Return an two-dimensional array with strings from the language file of each plugin. - $lang['js'] must be an array. - Nothing is returned for plugins without an entry for $lang['js'] author: Gabriel Birke <birke@d-scribe.de> |
| js_escape($string) X-Ref |
| Escapes a String to be embedded in a JavaScript call, keeps \n as newline author: Andreas Gohr <andi@splitbrain.org> |
| js_runonstart($func) X-Ref |
| Adds the given JavaScript code to the window.onload() event author: Andreas Gohr <andi@splitbrain.org> |
| js_compress($s) X-Ref |
| Strip comments and whitespaces from given JavaScript Code This is a port of Nick Galbreath's python tool jsstrip.py which is released under BSD license. See link for original code. link: http://code.google.com/p/jsstrip/ author: Nick Galbreath <nickg@modp.com> author: Andreas Gohr <andi@splitbrain.org> |
| Generated: Tue Dec 2 01:30:01 2008 | Cross-referenced by PHPXref 0.7 |