By adding the  -XjsInteropMode JS option, the thing should work.

Le mardi 30 septembre 2014 12:55:57 UTC+2, Michael Vogt a écrit :
>
> Hello. 
>
> Should it be possible right now to use JsInterop to use the facebook 
> Javascript sdk? 
>
> The call I want to use is  FB.XFBML.parse 
>
> So I created 2 interfaces: 
>
> @JsType 
> public interface FB { 
>   @JsProperty XFBML getXFBML(); 
> } 
>
> @JsType 
> public interface XFBML { 
>   void parse(); 
> } 
>
> I get FB through a native function getFB(). When calling 
> getFB().getXFBML().parse(), the error message is "undefined is not a 
> function" 
>
> Should this work, or am I doing something wrong? 
>
>
> Thanks, 
> Michael 
>

-- 
You received this message because you are subscribed to the Google Groups "GWT 
Contributors" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit-contributors+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-web-toolkit-contributors/8d777269-23f6-4f4e-bb11-894dd400698f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to