12 lines
No EOL
285 B
JavaScript
Executable file
12 lines
No EOL
285 B
JavaScript
Executable file
'use strict';
|
|
|
|
module.exports = function getWindow(node) {
|
|
return node === node.window ? node : node.nodeType === 9 ? node.defaultView || node.parentWindow : false;
|
|
};
|
|
|
|
|
|
//////////////////
|
|
// WEBPACK FOOTER
|
|
// ./~/dom-helpers/query/isWindow.js
|
|
// module id = 908
|
|
// module chunks = 4
|