mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-06 04:42:15 -05:00
Extend mapping of attribute names to required namespaces
This commit is contained in:
parent
b5c837bb87
commit
a4757b37de
1 changed files with 3 additions and 1 deletions
|
@ -23,7 +23,9 @@ var SvgElement = new function() {
|
||||||
// Mapping of attribute names to required namespaces:
|
// Mapping of attribute names to required namespaces:
|
||||||
attributeNamespace = {
|
attributeNamespace = {
|
||||||
href: xlink,
|
href: xlink,
|
||||||
xlink: xmlns
|
xlink: xmlns,
|
||||||
|
xmlns: xmlns,
|
||||||
|
'xmlns:xlink': xmlns
|
||||||
};
|
};
|
||||||
|
|
||||||
function create(tag, attributes, formatter) {
|
function create(tag, attributes, formatter) {
|
||||||
|
|
Loading…
Reference in a new issue