MCPcopy Create free account
hub / github.com/JsAaron/jQuery / getWindow

Function getWindow

2.1.1/test/jquery-2.1.1.js:8899–8901  ·  view source on GitHub ↗

* Gets a window from an element

( elem )

Source from the content-addressed store, hash-verified

8897 * Gets a window from an element
8898 */
8899function getWindow( elem ) {
8900 return jQuery.isWindow( elem ) ? elem : elem.nodeType === 9 && elem.defaultView;
8901}
8902
8903jQuery.offset = {
8904 setOffset: function( elem, options, i ) {

Callers 1

jquery-2.1.1.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected