aboutsummaryrefslogtreecommitdiffstats
path: root/src/utils
diff options
context:
space:
mode:
authorDaniel <dkern4159@yahoo.com>2021-09-22 09:29:09 -0500
committerDaniel <dkern4159@yahoo.com>2021-09-22 09:29:09 -0500
commitaeea23be44bb6dc1653837c61c82a404d4701c8b (patch)
tree06ee95d557657df4a245524dee78ec581ec1f0ad /src/utils
parente5f02c66db9307d87da476c17dcbaec19e4dafc6 (diff)
downloadsvg.js-aeea23be44bb6dc1653837c61c82a404d4701c8b.tar.gz
svg.js-aeea23be44bb6dc1653837c61c82a404d4701c8b.zip
remove old code
Diffstat (limited to 'src/utils')
-rw-r--r--src/utils/adopter.js4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/utils/adopter.js b/src/utils/adopter.js
index 6d055ed..300c133 100644
--- a/src/utils/adopter.js
+++ b/src/utils/adopter.js
@@ -41,11 +41,7 @@ export function makeInstance (element, isHTML = false) {
return element
}
-// export function nodeOrNew (name, node) {
-// return node instanceof globals.window.Node ? node : create(name)
-// }
export function nodeOrNew (name, node) {
- //console.log(node)
return (node && 'ownerDocument' in node && node instanceof node.ownerDocument.defaultView.Node) ? node : create(name)
}