( elem )
| 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 ) { |