aboutsummaryrefslogtreecommitdiffstats
path: root/src/elements/Dom.js
diff options
context:
space:
mode:
authorUlrich-Matthias Schäfer <ulima.ums@googlemail.com>2023-06-12 10:34:08 +0200
committerUlrich-Matthias Schäfer <ulima.ums@googlemail.com>2023-06-12 10:34:08 +0200
commit8e18b4698edd00f83af0be05bb3374f92fecaeb9 (patch)
tree870a43efd388a0f1b72d1215e599b432bf53b7de /src/elements/Dom.js
parentaaedc5ac2893555e3cb855659b132afafddfb724 (diff)
downloadsvg.js-8e18b4698edd00f83af0be05bb3374f92fecaeb9.tar.gz
svg.js-8e18b4698edd00f83af0be05bb3374f92fecaeb9.zip
update lockfile version, formatting3.2.0
Diffstat (limited to 'src/elements/Dom.js')
-rw-r--r--src/elements/Dom.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/elements/Dom.js b/src/elements/Dom.js
index e45c16c..2584a43 100644
--- a/src/elements/Dom.js
+++ b/src/elements/Dom.js
@@ -72,10 +72,10 @@ export default class Dom extends EventTarget {
this.writeDataToDom()
// clone element
- var nodeClone = this.node.cloneNode(deep);
+ let nodeClone = this.node.cloneNode(deep)
if (assignNewIds) {
// assign new id
- nodeClone = assignNewId(nodeClone);
+ nodeClone = assignNewId(nodeClone)
}
return new this.constructor(nodeClone)
}