MCPcopy Create free account
hub / github.com/nwutils/nw-sample-apps / getWindow

Function getWindow

camera/jquery.js:8900–8902  ·  view source on GitHub ↗

* Gets a window from an element

( elem )

Source from the content-addressed store, hash-verified

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

Callers 1

jquery.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected