svgdotjs / svg.export.js

A plugin for the svg.js library to export raw svg

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

can't export

kayetano opened this issue · 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