worked on GarageApp stuff
This commit is contained in:
parent
60aaf17af3
commit
eb606572b0
51919 changed files with 2168177 additions and 18 deletions
11
node_modules/dom-helpers/esm/ownerWindow.js
generated
vendored
Normal file
11
node_modules/dom-helpers/esm/ownerWindow.js
generated
vendored
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
import ownerDocument from './ownerDocument';
|
||||
/**
|
||||
* Returns the owner window of a given element.
|
||||
*
|
||||
* @param node the element
|
||||
*/
|
||||
|
||||
export default function ownerWindow(node) {
|
||||
var doc = ownerDocument(node);
|
||||
return doc && doc.defaultView || window;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue