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

Split out getLocalName to another module #5

Closed
tomek-he-him opened this issue Sep 11, 2015 · 1 comment
Closed

Split out getLocalName to another module #5

tomek-he-him opened this issue Sep 11, 2015 · 1 comment

Comments

@tomek-he-him
Copy link
Member

parse/module/index.js

Lines 21 to 24 in 2d733ee

const getLocalName = (node) => (node.namespaceURI ?
node.localName :
node.name.replace(new RegExp(`^.*?:`), '')
);
should be released and tested independently.

@tomek-he-him
Copy link
Member Author

Moved to projectshaped/parametric-svg#15.

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