Thursday, February 27, 2014

Re: GWT and SVG, the 125th... :-)



On Thursday, February 27, 2014 2:21:47 PM UTC+1, Ümit Seren wrote:
In your GraphicsPanel.java 

try to use 

var draw = $wnd.SVG('drawing') instead of SVG


When I do this, the error message changes to:

Object [object global] has no method 'SVG'


Well, I only injected svg.min.js from the homepage (http://svgjs.com/). I don't know JS well, but I feel that there is no declaration of "SVG" in this file. But the example is taken from the top of the homepage...

Magnus
 

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.

No comments:

Post a Comment