mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-03 19:45:44 -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:
|
||||
attributeNamespace = {
|
||||
href: xlink,
|
||||
xlink: xmlns
|
||||
xlink: xmlns,
|
||||
xmlns: xmlns,
|
||||
'xmlns:xlink': xmlns
|
||||
};
|
||||
|
||||
function create(tag, attributes, formatter) {
|
||||
|
|
Loading…
Reference in a new issue