MCPcopy Index your code
hub / github.com/JsAaron/jQuery / getWindow

Function getWindow

1.7/offset.js:265–271  ·  view source on GitHub ↗
( elem )

Source from the content-addressed store, hash-verified

263});
264
265function getWindow( elem ) {
266 return jQuery.isWindow( elem ) ?
267 elem :
268 elem.nodeType === 9 ?
269 elem.defaultView || elem.parentWindow :
270 false;
271}
272
273})( jQuery );

Callers 1

offset.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected