It's all good.
I just wanted to make sure this package was optimal before I totally abuse
it minifying my Javascripts.
:)
On Thu, Jan 27, 2011 at 12:53 AM, Merten Falk via RT <
bug-JavaScript-Packer@rt.cpan.org> wrote:
Show quoted text> <URL:
https://rt.cpan.org/Ticket/Display.html?id=65093 >
>
> Thanks for reporting that. I didn't read the Regexp::RegGrp doc.
> Muuuaaaaaahhh....
>
>
> On Tue Jan 25 00:13:18 2011, MBROOKS wrote:
> > String values passed to getElementsByTagName() are minified when a
> > variable of the same name exists within scope of the Javascript function.
> >
> > The example below was achieved using *best* compression option.
> >
> > // before
> >
> > function initScript() {
> > var config = parseXML("config.xml").getElementsByTagName("config");
> >
> > ...
> > }
> >
> > // after (minified/uncompressed)
> >
> > function initScript() {
> > var r = parseXML("config.xml").getElementsByTagName("r");
> >
> > ...
> > }
>
>
>
--
Marc S. Brooks
13603 Marina Pointe Dr. #A623 1/2
Marina Del Rey, CA 90292