summaryrefslogtreecommitdiffstats
path: root/src/parent.js
diff options
context:
space:
mode:
authorUlrich-Matthias Schäfer <ulima.ums@googlemail.com>2017-07-25 14:19:49 +0200
committerUlrich-Matthias Schäfer <ulima.ums@googlemail.com>2017-07-25 14:19:49 +0200
commitee0b340bfeb2430767d4a2850413f864c42e5405 (patch)
tree7cb4fe28d59643b2054edd6ae5c33ed8d2b33987 /src/parent.js
parentd6d389133409b315bc1b74752f58ef2647033bb9 (diff)
downloadsvg.js-ee0b340bfeb2430767d4a2850413f864c42e5405.tar.gz
svg.js-ee0b340bfeb2430767d4a2850413f864c42e5405.zip
add new default constructor (#714)
Diffstat (limited to 'src/parent.js')
-rw-r--r--src/parent.js4
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