diff options
author | Ulrich-Matthias Schäfer <ulima.ums@googlemail.com> | 2018-12-01 17:24:04 +0100 |
---|---|---|
committer | Ulrich-Matthias Schäfer <ulima.ums@googlemail.com> | 2018-12-01 17:24:04 +0100 |
commit | 51dafe62e02c4298859ac8f1c5945899241fac23 (patch) | |
tree | 864908d07b63337611f67364838245037b7fe85b /src/utils | |
parent | 9546418c5ed9b1876132b43dff1ae690c3ec4e24 (diff) | |
download | svg.js-51dafe62e02c4298859ac8f1c5945899241fac23.tar.gz svg.js-51dafe62e02c4298859ac8f1c5945899241fac23.zip |
fix playgrounds, delete unneeded files
Diffstat (limited to 'src/utils')
-rw-r--r-- | src/utils/adopter.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils/adopter.js b/src/utils/adopter.js index 3e86d8a..34b853e 100644 --- a/src/utils/adopter.js +++ b/src/utils/adopter.js @@ -51,7 +51,7 @@ export function adopt (node) { if (node.instance instanceof Base) return node.instance // initialize variables - var className = capitalize(node.nodeName) + var className = capitalize(node.nodeName || 'Dom') // Make sure that gradients are adopted correctly if (className === 'LinearGradient' || className === 'RadialGradient') { |