svg.export.js icon indicating copy to clipboard operation
svg.export.js copied to clipboard

can't export

Open kayetano opened this issue 10 years ago • 1 comments

I can't export a svg example. I tested this:

var draw = SVG('paper').size(400, 400)
var rect = draw.rect(100, 100)
var svgExport = draw.exportSvg()

and return this error: Uncaught TypeError: Cannot read property 'nodeName' of null (svg.js:2841)

I use svg.js version 2.0.5 and svg.export.js version 0.1.1

kayetano avatar Aug 11 '15 14:08 kayetano

svg.export.js is obsolete for svg.js v2: https://github.com/wout/svg.js#import--export-svg

Fuzzyma avatar Sep 26 '15 20:09 Fuzzyma