Tuesday, December 29, 2015

JSNI Question

I am using JSNI to reference a javascript library.  My initial call is fine, but then somewhere down they chain I get a null pointer inside the javascript library.

I am referencing the library like this


which is a valid reference.  

This then seems to load in other javascript files.  the object it loads are not referenced as $wnd (because that is a GWT thing), and I eventually get a "cannot read property 'init' of undefined".

My question is, could this be causing my problems?  
for example I am getting this error on this call.  Is this because it is not prefaced with $wnd?

You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment