summaryrefslogtreecommitdiffstats
path: root/src/elements
diff options
context:
space:
mode:
authorUlrich-Matthias Schäfer <ulima.ums@googlemail.com>2020-04-08 08:47:16 +1000
committerUlrich-Matthias Schäfer <ulima.ums@googlemail.com>2020-04-08 08:47:16 +1000
commita4a532d5b886d1e59a96cee7453f3b2ffb8f9285 (patch)
treeaad52d48b9ff6872ed541d53049a75b4c528a74a /src/elements
parentd927f2d225d74fd3b3f41b298a19f6ba075702cf (diff)
downloadsvg.js-a4a532d5b886d1e59a96cee7453f3b2ffb8f9285.tar.gz
svg.js-a4a532d5b886d1e59a96cee7453f3b2ffb8f9285.zip
tests for EventTarget
Diffstat (limited to 'src/elements')
-rw-r--r--src/elements/Dom.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/elements/Dom.js b/src/elements/Dom.js
index c9e6953..c67dd18 100644
--- a/src/elements/Dom.js
+++ b/src/elements/Dom.js
@@ -17,7 +17,7 @@ import attr from '../modules/core/attr.js'
export default class Dom extends EventTarget {
constructor (node, attrs) {
- super(node)
+ super()
this.node = node
this.type = node.nodeName