diff options
author | Ulrich-Matthias Schäfer <ulima.ums@googlemail.com> | 2017-07-25 14:19:49 +0200 |
---|---|---|
committer | Ulrich-Matthias Schäfer <ulima.ums@googlemail.com> | 2017-07-25 14:19:49 +0200 |
commit | ee0b340bfeb2430767d4a2850413f864c42e5405 (patch) | |
tree | 7cb4fe28d59643b2054edd6ae5c33ed8d2b33987 /src/helpers.js | |
parent | d6d389133409b315bc1b74752f58ef2647033bb9 (diff) | |
download | svg.js-ee0b340bfeb2430767d4a2850413f864c42e5405.tar.gz svg.js-ee0b340bfeb2430767d4a2850413f864c42e5405.zip |
add new default constructor (#714)
Diffstat (limited to 'src/helpers.js')
-rw-r--r-- | src/helpers.js | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/helpers.js b/src/helpers.js index 88a37bb..9f52431 100644 --- a/src/helpers.js +++ b/src/helpers.js @@ -18,12 +18,6 @@ function createElement(element, makeNested) { element = SVG.adopt(node.firstElementChild) - //if(element instanceof SVG.Nested) { - // // We cant use the adopter for this because it will create an SVG.Nested - // element = new SVG.Doc(element.node) - // element.setData(JSON.parse(element.node.getAttribute('svgjs:data')) || {}) - //} - return element } |