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

Provide a stub for setAttribute in order to use the SVG back-end with Node.js #8904

Merged
merged 1 commit into from
Sep 13, 2017

Conversation

timvandermeij
Copy link
Contributor

@timvandermeij timvandermeij commented Sep 12, 2017

This patch fixes a regression from PR #8691 where we switched to using setAttribute instead of setAttributeNS if no namespace is provided.

To avoid further issues, a stub for getAttribute is also created.

Fixes #8902.

Node.js

This patch fixes a regression from PR mozilla#8691 where we switched to using
`setAttribute` instead of `setAttributeNS` if no namespace is provided.
Copy link
Contributor

@yurydelendik yurydelendik left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for the patch.

@yurydelendik yurydelendik merged commit 25c49de into mozilla:master Sep 13, 2017
@timvandermeij timvandermeij deleted the svg-setattribute-stub branch September 13, 2017 19:25
movsb pushed a commit to movsb/pdf.js that referenced this pull request Jul 14, 2018
Provide a stub for `setAttribute` in order to use the SVG back-end with Node.js
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

error running node pdf2svg.js
2 participants