diff options
author | Ulrich-Matthias Schäfer <ulima.ums@googlemail.com> | 2018-12-01 13:32:23 +0100 |
---|---|---|
committer | Ulrich-Matthias Schäfer <ulima.ums@googlemail.com> | 2018-12-01 13:32:23 +0100 |
commit | 637039fbde6a68f18f89ce8677f6b8ca667ba689 (patch) | |
tree | 25538f2650623b9636958119d0a169c9780f5ae2 /src/elements | |
parent | 998b422fa24c4f45b0265779cdf4d0833788040a (diff) | |
download | svg.js-637039fbde6a68f18f89ce8677f6b8ca667ba689.tar.gz svg.js-637039fbde6a68f18f89ce8677f6b8ca667ba689.zip |
dont generate esm bundle anymore and link to src/main.js directly. Move bower to its own repo
rename makeNode back to create
Diffstat (limited to 'src/elements')
-rw-r--r-- | src/elements/Dom.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/elements/Dom.js b/src/elements/Dom.js index f6e72c9..fa4ed08 100644 --- a/src/elements/Dom.js +++ b/src/elements/Dom.js @@ -4,7 +4,7 @@ import { eid, extend, makeInstance, - makeNode, + create, register } from '../utils/adopter.js' import { find } from '../modules/core/selector.js' @@ -90,7 +90,7 @@ export default class Dom extends EventTarget { } element (nodeName) { - return this.put(new Dom(makeNode(nodeName))) + return this.put(new Dom(create(nodeName))) } // Get first child |