[ Index ]

PHP Cross Reference of Jalakai Designs - DokuWiki Plugins & Templates

title

Body

[close]

/dokuwiki/core/codebase/lib/exe/ -> js.php (summary)

DokuWiki JavaScript creator

Author: Andreas Gohr
License: GPL 2 (http://www.gnu.org/licenses/gpl.html)
File Size: 349 lines (10 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 6 functions

  js_out()
  js_cacheok()
  js_pluginscripts()
  js_escape()
  js_runonstart()
  js_compress()

Functions
Functions that are not part of a class:

js_out()   X-Ref
Output all needed JavaScript

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_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 rewrite of Nick Galbreaths python tool jsstrip.py which is
released under BSD license. See link for original code.

author: Nick Galbreath <nickg@modp.com>
author: Andreas Gohr <andi@splitbrain.org>



Generated: Sat Dec 16 05:46:24 2006 Cross-referenced by PHPXref 0.6