diff options
Diffstat (limited to 'node_modules/jquery/src/var/isWindow.js')
| -rw-r--r-- | node_modules/jquery/src/var/isWindow.js | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/node_modules/jquery/src/var/isWindow.js b/node_modules/jquery/src/var/isWindow.js new file mode 100644 index 0000000..2ba1168 --- /dev/null +++ b/node_modules/jquery/src/var/isWindow.js @@ -0,0 +1,8 @@ +define( function() { + "use strict"; + + return function isWindow( obj ) { + return obj != null && obj === obj.window; + }; + +} ); |
