Hi Marklar: The first test I would do, to really validate "The JS file is loading correctly" is to go to the deployed instance and:d
- Fire up the browser. - Open the console (firebug, chrome dev tools, etc..) - Go to the console, attempt to find the function (JS) you are trying to get to from your GWT code and see if it is truly exported and accessible within the window scope. Regards, Alfredo On Thu, Apr 12, 2012 at 9:06 AM, 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 > > -- > You received this message because you are subscribed to the Google Groups > "Google Web Toolkit" group. > To view this discussion on the web visit > https://groups.google.com/d/msg/google-web-toolkit/-/s6LWpQRCcdcJ. > 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. > -- Alfredo Quiroga-Villamil AOL/Yahoo/Gmail/MSN IM: lawwton -- 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.
