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/5a1fe785-79ea-4cb3-9fc6-c4f1c4258c2d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to