aboutsummaryrefslogtreecommitdiffstats
path: root/src/deprecated.js
diff options
context:
space:
mode:
authorShashanka Nataraj <shashankan.10@gmail.com>2017-06-23 04:14:43 +0000
committerTimmy Willison <4timmywil@gmail.com>2017-07-10 12:00:27 -0400
commitc18d608537d8945de6c5855a9475657177fa74ac (patch)
tree1d1dee3376abc5218d3c0da26f540003d9b70f05 /src/deprecated.js
parent490db839fb08a9b461e77dbe0138c7e6045aacd8 (diff)
downloadjquery-c18d608537d8945de6c5855a9475657177fa74ac.tar.gz
jquery-c18d608537d8945de6c5855a9475657177fa74ac.zip
Core: Deprecate jQuery.isWindow
Fixes gh-3629 Close gh-3702
Diffstat (limited to 'src/deprecated.js')
-rw-r--r--src/deprecated.js6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/deprecated.js b/src/deprecated.js
index 9589ec872..3ae78aac8 100644
--- a/src/deprecated.js
+++ b/src/deprecated.js
@@ -1,7 +1,8 @@
define( [
"./core",
- "./core/nodeName"
-], function( jQuery, nodeName ) {
+ "./core/nodeName",
+ "./var/isWindow"
+], function( jQuery, nodeName, isWindow ) {
"use strict";
@@ -36,5 +37,6 @@ jQuery.holdReady = function( hold ) {
jQuery.isArray = Array.isArray;
jQuery.parseJSON = JSON.parse;
jQuery.nodeName = nodeName;
+jQuery.isWindow = isWindow;
} );