[MapQuery] JS compressor

Steven M. Ottens steven at minst.net
Thu Jul 14 07:54:19 EDT 2011


Hi all,

Our infamous goto() function crashes Google's closure, Dojo's ShrinkSafe 
and YUI's compressor. However it works with Packer. I tested the 
different compressors using: http://compressorrater.thruhere.net/ (and 
replacing goto with gotos to prevent crashing). It turned out that 
Packer is the smallest and fastest, so we can keep the goto() function.

However Packer.js is a javascript library and I'm not skilled enought to 
turn it into something I can use in jenkins/linux shell. If someone 
could have a look and create something nifty, I'll be much obliged.

Packer.js: http://dean.edwards.name/packer/Packer.js
Packer site: http://dean.edwards.name/packer/

Regards
STeven



More information about the MapQuery mailing list