Really stupid question: do you have a typo'd 'r' after the open curly? It's there in your pasted code snippet, and with JS's automatic semicolon insertion, I'm pretty sure it would try to use it as if you'd written "r;".
Also, yes, I think you'd want to use "$wnd.ActualJSObjectName".
On Monday, February 9, 2015 at 4:53:39 PM UTC-5, rjcarr wrote:
To create the overlay type I also tried this:return new $wnd.Timeline(canvas);But it didn't seem to make a difference.Maybe I'm not using the right functionality here? I'd basically like to create an object in pure javascript but overlay it with java to have it available to other classes that don't need to know whether it's written in java or javascript.Thanks!
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" 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 http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment