Closed redon closed 11 years ago
That could be the case indeed, I should have known. This will be fixed soon.
This has been fixed. The import()
method has been renamed to svg()
:
var draw = SVG('canvas')
draw.svg('<svg><rect width="100" height="100" /></svg>')
Hallo Thank you for the plugin!
Using closure-compiler on my script I get an error
does work when I change import to importSVG in your file (svg.import.js)
seems that import is reserved