mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-03 19:45:44 -05:00
Add trailing slashes to svg related namespaces (xmlns, xlink)
This commit is contained in:
parent
a4757b37de
commit
49104c5cf0
1 changed files with 2 additions and 2 deletions
|
@ -18,8 +18,8 @@
|
||||||
var SvgElement = new function() {
|
var SvgElement = new function() {
|
||||||
// SVG related namespaces
|
// SVG related namespaces
|
||||||
var svg = 'http://www.w3.org/2000/svg',
|
var svg = 'http://www.w3.org/2000/svg',
|
||||||
xmlns = 'http://www.w3.org/2000/xmlns',
|
xmlns = 'http://www.w3.org/2000/xmlns/',
|
||||||
xlink = 'http://www.w3.org/1999/xlink',
|
xlink = 'http://www.w3.org/1999/xlink/',
|
||||||
// Mapping of attribute names to required namespaces:
|
// Mapping of attribute names to required namespaces:
|
||||||
attributeNamespace = {
|
attributeNamespace = {
|
||||||
href: xlink,
|
href: xlink,
|
||||||
|
|
Loading…
Reference in a new issue