Wednesday, May 25, 2011

Re: JSNI, qualified reference to static method (devmode works fine!

Thank you for your reply; this resolved my issue. I hadn't quite
wrapped my head around JSNI and was going by some examples I found
online that used "var that = this" before calling the JSNI method.
Thanks again.

On May 20, 3:55 pm, Thomas Broyer <t.bro...@gmail.com> wrote:
> If it's static, why do you qualify it with "that"? Simply call it with
> "return @com.hidden.JSNIBridge::doProcessHit(Ljava/lang/
> String;Ljava/lang/String;DDLjava/lang/String;Ljava/lang/String;)((oldId,
> newId, mousePtX, mousePtY, xUnit, yUnit);"

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

No comments:

Post a Comment