gwtquery icon indicating copy to clipboard operation
gwtquery copied to clipboard

JSNIBundle

Open biancashouse opened this issue 11 years ago • 4 comments

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 avatar Jan 29 '15 00:01 biancashouse

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 avatar Jan 29 '15 00:01 biancashouse

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

biancashouse avatar Jan 29 '15 02:01 biancashouse

What happens if you import using non minimised versions?

manolo avatar Jan 30 '15 13:01 manolo

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

danywhite avatar Apr 21 '15 13:04 danywhite