diff options
Diffstat (limited to 'src/element.js')
-rw-r--r-- | src/element.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/element.js b/src/element.js index 3665dc2..8869f2b 100644 --- a/src/element.js +++ b/src/element.js @@ -105,7 +105,7 @@ SVG.extend(SVG.Element, { a = {} v = this.node.attributes for (n = v.length - 1; n >= 0; n--) - a[v[n].nodeName] = v[n].nodeValue + a[v[n].nodeName] = SVG.regex.test(v[n].nodeValue, 'isNumber') ? parseFloat(v[n].nodeValue) : v[n].nodeValue return a |