From: Daniel Date: Wed, 22 Sep 2021 14:29:09 +0000 (-0500) Subject: remove old code X-Git-Tag: 3.1.2~7^2~5 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=aeea23be44bb6dc1653837c61c82a404d4701c8b;p=svg.js.git remove old code --- 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) }