OK, I will try a combination of compiling Prototype & Script in Simple
mode and my code in Advanced.  Wasn't sure if that works, but will
try!

Karl..

On Nov 26, 3:09 pm, "T.J. Crowder" <[email protected]> wrote:
> Hi,
>
> No ideas *specifically*, but I'd be surprised if Closure's advanced
> optimizations were compatible with the Prototype & script.aculo.us
> source code. For Prototype & scripty, I think you're going to have to
> content yourself with the basic optimizations. But hey, I've never
> tried it, it's just that Advanced optimizations pretty much require
> changes to the source code, and Prototype & script.aculo.us weren't
> written for compatibility with Closure's advanced mode. (It's _really_
> aggressive; which is part of how it works so well.)
>
> With sufficient externs, you should be able to compile your _own_ code
> with advanced optimizations while still using Prototype &
> script.aculo.us, and you could combine the result into a single file
> to minimize HTTP requests.
>
> FWIW.
> --
> T.J. Crowder
> Independent Software Engineer
> tj / crowder software / com
> www / crowder software / com
>
> On Nov 24, 7:40 pm, kstubs <[email protected]> wrote:
>
>
>
>
>
>
>
> > I'm interested in compiling prototype and scriptaculous library with
> > Google Compiler.  I get lots of warnings "dangerous use of the global
> > this object" when compiling level = ADVANCED_OPTIMIZATIONS.  Ignoring
> > the warnings, my code no longer runs correctly.  Any ideas?

-- 
You received this message because you are subscribed to the Google Groups 
"Prototype & script.aculo.us" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en.

Reply via email to