Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

can't export #25

Open
kayetano opened this issue Aug 11, 2015 · 1 comment
Open

can't export #25

kayetano opened this issue Aug 11, 2015 · 1 comment

Comments

@kayetano
Copy link

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

@Fuzzyma
Copy link
Member

Fuzzyma commented Sep 26, 2015

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants