1 JsShrink - Remove spaces and comments from JavaScript code
2 Available in PHP and JavaScript
3 Requires statements ending by semicolon, use JSHint or JSLint to verify.
5 http://vrana.github.com/JsShrink/
9 include "jsShrink.php";
14 <script type="text/javascript" src="jsShrink.js"></script>
15 <script type="text/javascript">
16 textarea.value = jsShrink(code);
20 Google Closure Compiler is much more powerful and efficient tool.
21 JsShrink was created for those looking for PHP or JavaScript only solution.
22 Most other JS minifiers are not able to process valid JavaScript code:
23 http://php.vrana.cz/minifikace-javascriptu.php#srovnani