Absolutly, that worried me at first about rhino, but It's great to see its already included. If anyone can work out how to included this in eclipse as a runnable program to compress the code, please share it - I tried myself, but I'm not familiar with its environment variables
On 14/08/07, Stephan Beal <[EMAIL PROTECTED]> wrote: > > On Aug 14, 7:02 pm, "Dan G. Switzer, II" <[EMAIL PROTECTED]> > wrote: > > The idea behind compression tools that use Rhino is they actually have the > > ability to parse the JS and really understand how the variables > work--which > > allows for things such as more accurate variable replacement. > > While YUImin uses Rhino, it may be interesting to note that the .jar > file has Rhino built in, so you don't need to set your CLASSPATH or > write a wrapper script to launch it. This makes it an ideal candidate > for inclusion in the jQuery tree, IMO. > > i just finished updating all of my plugin pages to include YUImin'd > copies and they are, without exception, smaller than the MIN'd and > PACK'd versions. e.g. > > http://wanderinghorse.net/computing/javascript/jquery/colorpicker/ > > This has just become my packer of choice. > > -- Tane Piper http://digitalspaghetti.me.uk This email is: [ ] blogable [ x ] ask first [ ] private