JS through Google Closure
Monkey Targets Forums/HTML5/JS through Google Closure
| ||
http://code.google.com/closure/ It is possible to run the javascript code created by Monkey though google closure. Google Closure is a tool to optimize and compress javascript code. I had to change the use of the variable name char to something else (e.g. char2) for it to work, but apart from that all was good. I've not tried it on any big projects so cannot state whether it actually improves things, but it certainly should make it download faster. |
| ||
There is nothing stopping you doing this before you deploy to a live server. Actually I recommend that this is not done via Monkey as debugging before release would be a nightmare. I Agree that Mark should obfuscate his code.. |