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

Function getWindow

2.0.3/2.0.3.js:8878–8880  ·  view source on GitHub ↗
( elem )

Source from the content-addressed store, hash-verified

8876 });
8877
8878 function getWindow( elem ) {
8879 return jQuery.isWindow( elem ) ? elem : elem.nodeType === 9 && elem.defaultView;
8880 }
8881// Create innerHeight, innerWidth, height, width, outerHeight and outerWidth methods
8882 jQuery.each( { Height: "height", Width: "width" }, function( name, type ) {
8883 jQuery.each( { padding: "inner" + name, content: type, "": "outer" + name }, function( defaultExtra, funcName ) {

Callers 1

2.0.3.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected