>> Today I came across this article via DZone:
>>
>> http://www.julienlecomte.net/blog/2007/08/13/introducing-the-yui-comp...
>>
>> "The YUI Compressor is a new JavaScript minifier.
>  <snip>
>
>  FWIW, I still think, ESC <http://www.saltstorm.net/depo/esc/> is
>better.

The problem with any RegExp based solution is that there are certain cases
(depending on how much "compression" is going on) where the application will
fail.

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.

-Dan

Reply via email to