It was working fine before. Since it looks like JsInterop has changed recently (and it is still in beta) I will just update my code to either inject in the TOP_WINDOW or I try it with using window as namespace.
On Monday, September 5, 2016 at 6:29:48 PM UTC+2, Jens wrote: > > Hm wondering how it ever worked for you as JsInterop usually qualifies JS > code with $wnd but your D3.js has been injected into the GWT iframe. So > AFAICT with JsInterop you would had to use TOP_WINDOW anyways. You can make > it work within the GWT iframe but then you can't use JsPackage.GLOBAL but > use a namespace that points to the iframe content window. > > Also see: > https://groups.google.com/d/msg/google-web-toolkit/GcsWUuzexvE/ApUg3sLZCQAJ > > So it looks like this behavior has changed? But yes you would need to use > "window" now to references the iframe's content window if you inject the > code into the iframe. > > -- J. > -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit-contributors/7862784c-854a-4bb1-85c0-2b7734a984d3%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
