can't export
kayetano opened this issue · comments
kayetano commented
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
Ulrich-Matthias Schäfer commented
svg.export.js is obsolete for svg.js v2: https://github.com/wout/svg.js#import--export-svg