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

Error when using <polygon /> #13

Open
Undistraction opened this issue Jun 15, 2018 · 0 comments
Open

Error when using <polygon /> #13

Undistraction opened this issue Jun 15, 2018 · 0 comments

Comments

@Undistraction
Copy link

Undistraction commented Jun 15, 2018

Firstly, thank you. This library is really wonderful. I have spent most of the day playing with it.

When SVG markup contains a polygon, for example:

<polygon points="53.4,44 389.3,204.8 74.7,312.6 "/>

The following error occurs:

Uncaught TypeError: e.append is not a function
    at Object.i [as polygon] (shape.js:24)
    at Object.polygon (normalize.js:33)
    at i (normalize.js:76)
    at new e (Warp.js:16)
    at pen.js:6
i @ shape.js:24
polygon @ normalize.js:33
i @ normalize.js:76
e @ Warp.js:16
(anonymous) @ pen.js:6

Please see my fork of your Codepen here which clearly shows the error. Verified in Chrome and Firefox (Mac).

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

1 participant