summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authordhardtke <accounts@pcprofil.de>2015-09-06 20:35:13 +0200
committerdhardtke <accounts@pcprofil.de>2015-09-06 20:35:13 +0200
commit72a4f866b5b460591ec975dc1b4ee285ba22e16a (patch)
treeca39066df6994ad3f2d72732f416956bee24d4d8 /src
parent3cf8e447b95280116c0c64133efa22d7a0eaa55f (diff)
downloadsvg.js-72a4f866b5b460591ec975dc1b4ee285ba22e16a.tar.gz
svg.js-72a4f866b5b460591ec975dc1b4ee285ba22e16a.zip
fix typo (finally)
Diffstat (limited to 'src')
-rw-r--r--src/svg.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/svg.js b/src/svg.js
index 20c0637..42d486e 100644
--- a/src/svg.js
+++ b/src/svg.js
@@ -98,8 +98,8 @@ SVG.adopt = function(node) {
// adopt with element-specific settings
if (node.nodeName == 'svg')
element = node.parentNode instanceof SVGElement ? new SVG.Nested : new SVG.Doc
- else if (node.nodeName == 'lineairGradient') // lineair?
- element = new SVG.Gradient('lineair')
+ else if (node.nodeName == 'linearGradient')
+ element = new SVG.Gradient('linear')
else if (node.nodeName == 'radialGradient')
element = new SVG.Gradient('radial')
else if (SVG[capitalize(node.nodeName)])
@@ -136,4 +136,4 @@ SVG.prepare = function(element) {
, poly: draw.polyline().node
, path: path
}
-} \ No newline at end of file
+}