63 lines
2.6 KiB
Plaintext
63 lines
2.6 KiB
Plaintext
================================================================================
|
|
JSMin+
|
|
================================================================================
|
|
A javascript minification tool written in PHP
|
|
by Tweakers.net / Tino Zijdel <crisp@tweakers.net>
|
|
|
|
Weblog: http://crisp.tweakblogs.net/blog/cat/716
|
|
|
|
License: MPL 1.1/GPL 2.0/LGPL 2.1 (see sourcecode)
|
|
|
|
================================================================================
|
|
VERSION HISTORY
|
|
================================================================================
|
|
17-05-2009 - version 1.3
|
|
|
|
- Fixed loop-constructs and if with empty body
|
|
- Fixed hook:colon precedence issues (https://bugzilla.mozilla.org/show_bug.cgi?id=492445)
|
|
- Combine concats of strings with same quotestyle
|
|
- Combine var-statements
|
|
|
|
--------------------------------------------------------------------------------
|
|
18-04-2009 - version 1.2
|
|
|
|
- Fixed crash in PHP 5.2.9 when matching large comments or strings
|
|
(due to PCRE backtracking bug)
|
|
- Don't add curly braces around statements for a CASE label
|
|
- Always put statements for IF between curly braces when followed by an ELSE
|
|
- Save some more bytes by omitting the space between RETURN and the return
|
|
expression in certain cases
|
|
|
|
--------------------------------------------------------------------------------
|
|
12-04-2009 - version 1.1
|
|
|
|
- Improved tokenizer performance by reading smaller chunks for matching
|
|
- Bugfix: jumplabels for break/continue statements were not written to output
|
|
- Improved stringmatching: cases like '\' and '<newline>' now throw unterminated
|
|
string literal error
|
|
- Fixed linenumber offset bug caused by JScript conditional compilation blocks
|
|
- nest() always calls Statement() so no need to use call_user_func() with a parm
|
|
|
|
--------------------------------------------------------------------------------
|
|
09-04-2009 - version 1.0
|
|
|
|
Initial version
|
|
|
|
================================================================================
|
|
KNOWN ISSUES
|
|
================================================================================
|
|
|
|
- JScript conditional compilation support is incomplete
|
|
|
|
================================================================================
|
|
DOWNLOAD LOCATION
|
|
================================================================================
|
|
|
|
Latest version:
|
|
version 1.3 : http://files.tweakers.net/jsminplus/jsminplus.zip
|
|
|
|
Previous versions:
|
|
version 1.2 : http://files.tweakers.net/jsminplus/jsminplus-1.2.zip
|
|
version 1.1 : http://files.tweakers.net/jsminplus/jsminplus-1.1.zip
|
|
version 1.0 : http://files.tweakers.net/jsminplus/jsminplus-1.0.zip
|