The closure compiler is also stripping out conditional compilation
statements. your current code for preventing memory leaks in IE could
be affected by this:

/*...@cc_on
window.attachEvent("onunload", function() {
        for ( var id in jQuery.cache ) {
                if ( jQuery.cache[ id ].handle ) {
                        // Try/Catch is to handle iframes being unloaded, see 
#4280
                        try {
                                jQuery.event.remove( jQuery.cache[ id 
].handle.elem );
                        } catch(e) {}
                }
        }
});
@*/

On 19 Dez., 20:27, John Resig <jere...@gmail.com> wrote:
> We're pulling in the Google Closure compiler now, instead of YUIMin,
> so it's possible that there's something wrong happening there. Looking
> through the README I don't see anything about a particular set of
> version requirements - maybe it is limited to JDK 5? Although I'm
> using 1.6 here on OS X and it's building just fine, so I'm not sure
> :-/
>
> --John
>
> On Sat, Dec 19, 2009 at 8:36 AM, Karl Swedberg <k...@englishrules.com> wrote:
> > Hi all,
> > I'm terribly sorry, but I have absolutely no idea what I'm doing when it
> > comes to this sort of thing. Can anyone shed some light on how I might be
> > able to fix this? I thought I had the most recent version of Java installed
> > from the Mac OS X updates, but maybe there is a more recent version floating
> > around that I need? Or maybe that's not the problem at all. See how helpless
> > I am? ;-)
> > Building ./dist/jquery.js
> > Building ./dist/jquery.min.js
> > Exception in thread "main" java.lang.UnsupportedClassVersionError: Bad
> > version number in .class file
> > at java.lang.ClassLoader.defineClass1(Native Method)
> > at java.lang.ClassLoader.defineClass(ClassLoader.java:675)
> > at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
> > at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
> > at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
> > at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
> > at java.security.AccessController.doPrivileged(Native Method)
> > at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
> > at java.lang.ClassLoader.loadClass(ClassLoader.java:316)
> > at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:280)
> > at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
> > at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:374)
>
> > My favorite line there isĀ "... .access$100 ..."
> > Can someone tell me where to pick up my $100?
>
> > --Karl
> > ____________
> > Karl Swedberg
> >www.englishrules.com
> >www.learningjquery.com
>
> > --
>
> > You received this message because you are subscribed to the Google Groups
> > "jQuery Development" group.
> > To post to this group, send email to jquery-...@googlegroups.com.
> > To unsubscribe from this group, send email to
> > jquery-dev+unsubscr...@googlegroups.com.
> > For more options, visit this group at
> >http://groups.google.com/group/jquery-dev?hl=en.

--

You received this message because you are subscribed to the Google Groups 
"jQuery Development" group.
To post to this group, send email to jquery-...@googlegroups.com.
To unsubscribe from this group, send email to 
jquery-dev+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/jquery-dev?hl=en.


Reply via email to