[ Index ]

PHP Cross Reference of DokuWiki




/vendor/splitbrain/php-jsstrip/src/ -> JSStrip.php (summary)

(no description)

File Size: 254 lines (10 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

JSStrip:: (2 methods):

Class: JSStrip  - 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.

compress($source)   X-Ref
Compress the given code

return: string
param: string $source The JavaScript code to compress

fatal($msg)   X-Ref
No description