<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Thanks Drew,<br>
<br>
Jenkins runs on linux and has node installed, so it sounds like a
perfect solution. I'll try to set it up after my holidays :)<br>
I noticed however that uglify (and all others) produces a bigger
file than Packer (all not gzipped):<br>
<br>
Packer 3.1: 16776 bytes (23.4%)<br>
Closure: 26348 bytes (35.7%)<br>
Uglify: 26494 bytes (35.9%)<br>
YUI 2.4.2: 27163 bytes (37.9%)<br>
Dojo: 30269 bytes (42.2%)<br>
JSmin 31645 bytes (44.1%)<br>
Unpacked: <span style="font-size: 90%"> 73673 bytes (100%)</span><br>
<br>
I find it interesting that Packer is so much smaller than the rest.
If someone does have the time to create a node.js version of Packer
3.1 that would be nice to have.<br>
<br>
Steven<br>
<br>
Op 7/14/2011 2:49 PM, Drew Wells schreef:
<blockquote
cite="mid:CADsURTXJ=1qy_F_CVpwRYwvBKany31ctbU1R_u7WyP69SxdYjQ@mail.gmail.com"
type="cite">
<p>Try uglifyjs it runs on node. Its what jquery uses now. You
will need to use cygwin to run it on windows until the port is
complete. </p>
<div class="gmail_quote">On Jul 14, 2011 7:54 AM, "Steven M.
Ottens" <<a moz-do-not-send="true"
href="mailto:steven@minst.net">steven@minst.net</a>> wrote:<br
type="attribution">
> Hi all,<br>
> <br>
> Our infamous goto() function crashes Google's closure,
Dojo's ShrinkSafe <br>
> and YUI's compressor. However it works with Packer. I
tested the <br>
> different compressors using: <a moz-do-not-send="true"
href="http://compressorrater.thruhere.net/">http://compressorrater.thruhere.net/</a>
(and <br>
> replacing goto with gotos to prevent crashing). It turned
out that <br>
> Packer is the smallest and fastest, so we can keep the
goto() function.<br>
> <br>
> However Packer.js is a javascript library and I'm not
skilled enought to <br>
> turn it into something I can use in jenkins/linux shell. If
someone <br>
> could have a look and create something nifty, I'll be much
obliged.<br>
> <br>
> Packer.js: <a moz-do-not-send="true"
href="http://dean.edwards.name/packer/Packer.js">http://dean.edwards.name/packer/Packer.js</a><br>
> Packer site: <a moz-do-not-send="true"
href="http://dean.edwards.name/packer/">http://dean.edwards.name/packer/</a><br>
> <br>
> Regards<br>
> STeven<br>
> <br>
> _______________________________________________<br>
> MapQuery mailing list<br>
> <a moz-do-not-send="true"
href="mailto:MapQuery@lists.osgeo.org">MapQuery@lists.osgeo.org</a><br>
> <a moz-do-not-send="true"
href="http://lists.osgeo.org/mailman/listinfo/mapquery">http://lists.osgeo.org/mailman/listinfo/mapquery</a><br>
</div>
</blockquote>
<br>
</body>
</html>