It looks like this might be a side-effect of 
https://github.com/gwtproject/gwt/commit/c511029eaae4ec66ff874d7e69efd9516ccc78db
 

I am using JsInterop to interact with the D3 library, Using 
namespace=JsPackage.GLOBAL. I guess I will have to use "window" instead ? 

On Monday, September 5, 2016 at 1:40:38 PM UTC+2, stuckagain wrote:

> It looks like the ScriptInjector is no longer working properly in the 
> snapshot.
>
> I had code like this: 
>
> ScriptInjector.*fromString*(pBundle.d3JS().getText()).inject();
>
> To load D3 using a TextResource.
>
>
> Since today (just came back after 2 weeks of holidays) the D3 object is no 
> longer available in $wnd.
>
>
> I changed the code to this:
>
> ScriptInjector.*fromString*(pBundle
> .d3JS().getText()).setWindow(ScriptInjector.*TOP_WINDOW*).inject();
>
>
> and then it works.
>
>
>

-- 
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/50ebbc42-884b-4c3d-bad9-494d1acc6f3e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to