ArcBees / gwtquery

A jQuery clone for GWT, and much more.
MIT License
85 stars 38 forks source link

JSNIBundle #339

Open biancashouse opened 9 years ago

biancashouse commented 9 years ago

More of a question.

I import jQuery and JPlayer, (which depends on JQuery) as separate JSNIBundle. I found that I got a "JQuery is undefine" error. Both js sources are the .min.js versions, so I guess I should try using the full unminimised versions.

The question is: if I have JSNIBundled code that is dependent on another JSNIBUndle's code, is that expected to be a valid use case ?

biancashouse commented 9 years ago

After making sure I am using full src versions of the .js I still see this on gwt module load: Uncaught com.google.gwt.core.client.JavaScriptException: (ReferenceError) : jQuery is not defined

biancashouse commented 9 years ago

I use gwt-bootstrap 3, and the Growl feature no longer works, because I can't find $wnd.jQuery.

manolo commented 9 years ago

What happens if you import using non minimised versions?

danywhite commented 9 years ago

Did you find the root cause ? I observe the same thing.