Op zijn weblog heeft crisp een nieuwe versie van JSMin+ vrijgegeven. De tool is hierdoor bij versie 1.3 aangekomen en is hier vanaf de Tweakers.net-fileserver als zip-bestand te downloaden. JSMin+ is een 'JavaScript minifier' die via PHP een JavaScript-bestand als het ware kan verkleinen. Dit verkleinen, ook wel minification genoemd, haalt alle onnodige tekens - zoals spaties en commentaar - uit een JS-file zonder dat de werking van het bestand wordt veranderd. In het geval van JSMin+ wordt deze lap JavaScript-code omgezet naar deze minified code. Meer informatie over JSMin+ is hier te lezen. De release notes van versie 1.3 zijn hieronder gepost:
Version 1.3 of JSMin+ is available for download. This version fixes some issues with empty bodies in if/else and loop-constructs, and it fixes precedence issues in nested ternaries (which actually is a Narcissus bug which has been reported here). Furthermore it has some minification improvements.
Changelog:Known issues:
- 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
Note that we *do* take patches for any of a.m. issues!
- JScript conditional compilation support is (still) not complete yet
- Performance can be improved
- No support yet for variable-name minification