Re: Updating GWT libraries for supporting xsiframe
On Sunday, January 20, 2013 3:14:50 PM UTC+1, Sebastián Gurin wrote:
Hi niloc, thank you very much for your ideas. In my case your solution 3) (inlining the js) is not what I want. In my case I want two things:
1) easy to the end user (it shouldn't have to worry about adding thirdLibrary.js file anywhere)
2) easy for me to update to new versions of thirdLibrary.js. Do not have to mantain my own version of thirdLibrary.js.
So for me your 2b) solution is what I wanted and worked fine. See how I'm loading sizzle.js now:
http://code.google.com/p/gwtsizzle/source/browse/trunk/ gwtsizzle/src/org/sgx/ gwtsizzle/client/Sizzle.java# 28
Note that for some unknown reason setWindow($wnd) was required for this to work!
How about ScriptInjector.TOP_WINDOW instead of your JsUtil.window().cast() ? (I think the reason is explained in the javadoc)
-- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/ncYUbMUaK5QJ.
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.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home