MCPcopy Create free account
hub / github.com/sql-js/sql.js / getWindow

Function getWindow

documentation/javascript/application.js:10134–10140  ·  view source on GitHub ↗
( elem )

Source from the content-addressed store, hash-verified

10132});
10133
10134function getWindow( elem ) {
10135 return jQuery.isWindow( elem ) ?
10136 elem :
10137 elem.nodeType === 9 ?
10138 elem.defaultView || elem.parentWindow :
10139 false;
10140}
10141// Create innerHeight, innerWidth, height, width, outerHeight and outerWidth methods
10142jQuery.each( { Height: "height", Width: "width" }, function( name, type ) {
10143 jQuery.each( { padding: "inner" + name, content: type, "": "outer" + name }, function( defaultExtra, funcName ) {

Callers 1

application.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…