Detailed Description
Definition at line 53 of file JSMin.php.
Constructor & Destructor Documentation
Member Function Documentation
| action |
( |
$ |
command | ) |
[protected] |
ACTION_KEEP_A = Output A. Copy B to A. Get the next B. ACTION_DELETE_A = Copy B to A. Get the next B. ACTION_DELETE_A_B = Get the next B.
Definition at line 131 of file JSMin.php.
Get next char. Convert ctrl char to space.
Definition at line 214 of file JSMin.php.
Is $c a letter, digit, underscore, dollar sign, escape, or non-ASCII?
Definition at line 247 of file JSMin.php.
Perform minification, return result
Definition at line 92 of file JSMin.php.
| static minify |
( |
$ |
js | ) |
[static] |
Minify Javascript
- Parameters:
-
| string | $js | Javascript to be minified |
- Returns:
- string
Definition at line 74 of file JSMin.php.
Get the next character, skipping over comments. Some comments may be preserved.
Definition at line 298 of file JSMin.php.
Get next char. If is ctrl character, translate to a space or newline.
Definition at line 238 of file JSMin.php.
Field Documentation
$inputIndex = 0 [protected] |
$inputLength = 0 [protected] |
$lookAhead = null [protected] |
The documentation for this class was generated from the following file:
- C:/xampp/htdocs/moodle/lib/minify/lib/JSMin.php