On Thu, Apr 12, 2012 at 21:06, marklar <[email protected]> wrote:
> Hi,
>
> I'm running into an issue with JSNI that I was hoping someone could help me
> with. I am using an external JS file to generate QR codes and it works great
> when running from the development server in Eclipse. When I push it to my
> 'production' server, however, it fails to find the function I am trying to
> call. The JS file is loading correctly, it just can't refer to that
> function. The specific error I am getting is:
>
> Uncaught ReferenceError: qrcode is not defined
>
> I have double checked for typos. I've had trouble finding any documentation
> about this, any help would be very much appreciated.
>
> Thanks,
> Marklar
>

This is just a shot in the dark: in your JSNI, did you use $wnd.qrcode
or just qrcode?

I seemed to noticed a trend in the list of people asking questions
without providing the offending code snippets, it's very hard for the
rest of us to provide any meaningful help without seeing what the
actual code, or at least part of it.

-- Joe

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to