Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JSNIBundle #339

Open
biancashouse opened this issue Jan 29, 2015 · 4 comments
Open

JSNIBundle #339

biancashouse opened this issue Jan 29, 2015 · 4 comments

Comments

@biancashouse
Copy link

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
Copy link
Author

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
Copy link
Author

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

@manolo
Copy link
Contributor

manolo commented Jan 30, 2015

What happens if you import using non minimised versions?

@danywhite
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants