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/parent.js | |
parent | d6d389133409b315bc1b74752f58ef2647033bb9 (diff) | |
download | svg.js-ee0b340bfeb2430767d4a2850413f864c42e5405.tar.gz svg.js-ee0b340bfeb2430767d4a2850413f864c42e5405.zip |
add new default constructor (#714)
Diffstat (limited to 'src/parent.js')
-rw-r--r-- | src/parent.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/parent.js b/src/parent.js index 372c2ca..f8b6ee1 100644 --- a/src/parent.js +++ b/src/parent.js @@ -1,7 +1,7 @@ SVG.Parent = SVG.invent({ // Initialize node - create: function(element) { - this.constructor.call(this, element) + create: function(node) { + this.constructor.call(this, node) } // Inherit from |