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

Function getWindow

1.6.1/src/offset.js:300–306  ·  view source on GitHub ↗
( elem )

Source from the content-addressed store, hash-verified

298});
299
300function getWindow( elem ) {
301 return jQuery.isWindow( elem ) ?
302 elem :
303 elem.nodeType === 9 ?
304 elem.defaultView || elem.parentWindow :
305 false;
306}
307
308})( jQuery );

Callers 1

offset.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected