[ Index ]
 

Code source de DokuWiki 2006-11-06

Accédez au Source d'autres logiciels libresSoutenez Angelica Josefina !

title

Body

[fermer]

/lib/exe/ -> js.php (sommaire)

DokuWiki JavaScript creator

Author: Andreas Gohr <andi@splitbrain.org>
License: GPL 2 (http://www.gnu.org/licenses/gpl.html)
Poids: 349 lignes (10 kb)
Inclus ou requis:0 fois
Référencé: 0 fois
Nécessite: 5 fichiers
 inc/pageutils.php
 inc/init.php
 inc/toolbar.php
 inc/JSON.php
 inc/io.php

Définit 6 fonctions

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

Fonctions
Fonctions qui ne font pas partie d'une Classe:

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>



Généré le : Tue Apr 3 20:47:31 2007 par Balluche grâce à PHPXref 0.7