Followup r83885: add JSMin+ 1.3 to use its parser to verify output of JavaScriptMinif...
authorBrion Vibber <brion@users.mediawiki.org>
Wed, 6 Jul 2011 20:02:10 +0000 (20:02 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Wed, 6 Jul 2011 20:02:10 +0000 (20:02 +0000)
commit12ccca03496c5f83c11892012555301f943fa804
tree9ed3866db7c2db21aa048fe02561e16d445259b7
parent5c4ddbbd525c2f250cc00fa1baad24e00dd61b53
Followup r83885: add JSMin+ 1.3 to use its parser to verify output of JavaScriptMinifierTest unit test cases. Had to change some of the test cases because they were not valid JavaScript programs -- one of the quoting tests was incorrectly quoted in the PHP sources, and several tests around return, continue, and break keywords failed due to not using them in the contexts that they require.

http://crisp.tweakblogs.net/blog/1856/jsmin+-version-13.html
JSMin+ under MPL 1.1/ GPL 2.0 / LGPL 2.1 license.
includes/AutoLoader.php
includes/libs/jsminplus.php [new file with mode: 0644]
tests/phpunit/includes/libs/JavaScriptMinifierTest.php