summaryrefslogtreecommitdiffstats
path: root/src/HtmlNode.js
diff options
context:
space:
mode:
authorUlrich-Matthias Schäfer <ulima.ums@googlemail.com>2018-10-27 20:43:35 +0200
committerUlrich-Matthias Schäfer <ulima.ums@googlemail.com>2018-10-27 20:43:35 +0200
commit1c75fcaf02ceb144152d59557643c6fdd7264065 (patch)
tree5184af75f2fd27ca6b81c24a06b1676d17ca2c76 /src/HtmlNode.js
parentb1b776a710d0ce0a6259043b8ce0665e205195fa (diff)
downloadsvg.js-1c75fcaf02ceb144152d59557643c6fdd7264065.tar.gz
svg.js-1c75fcaf02ceb144152d59557643c6fdd7264065.zip
resolve circular references and make example working again
Diffstat (limited to 'src/HtmlNode.js')
-rw-r--r--src/HtmlNode.js7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/HtmlNode.js b/src/HtmlNode.js
index 4a12d3f..f674d0b 100644
--- a/src/HtmlNode.js
+++ b/src/HtmlNode.js
@@ -1,8 +1,9 @@
-import {makeInstance} from './helpers.js'
-import EventTarget from './EventTarget.js'
+import {makeInstance} from './adopter.js'
+import Base from './Base.js'
-export default class HtmlNode extends EventTarget {
+export default class HtmlNode extends Base {
constructor (element) {
+ super(element, HtmlNode)
this.node = element
}