Initial commit
This commit is contained in:
5
node_modules/d3-selection/src/window.js
generated
vendored
Normal file
5
node_modules/d3-selection/src/window.js
generated
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
export default function(node) {
|
||||
return (node.ownerDocument && node.ownerDocument.defaultView) // node is a Node
|
||||
|| (node.document && node) // node is a Window
|
||||
|| node.defaultView; // node is a Document
|
||||
}
|
||||
Reference in New Issue
Block a user