diff options
author | Manoj Kumar <nithmanoj@gmail.com> | 2016-08-14 10:54:16 +0000 |
---|---|---|
committer | Michał Gołębiowski <m.goleb@gmail.com> | 2016-11-30 12:22:24 +0100 |
commit | 1b9575b9d14399e9426b9eacdd92b3717846c3f2 (patch) | |
tree | cb0991e1c7eda7b3b496f52d09b361e8e6425016 /src/queue.js | |
parent | 5b4cb0d33731a58384e02ad51e703e7dcb00e424 (diff) | |
download | jquery-1b9575b9d14399e9426b9eacdd92b3717846c3f2.tar.gz jquery-1b9575b9d14399e9426b9eacdd92b3717846c3f2.zip |
Core: Deprecate jQuery.isArray
Fixes gh-2961
Closes gh-3278
Diffstat (limited to 'src/queue.js')
-rw-r--r-- | src/queue.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/queue.js b/src/queue.js index 3a626a2fc..fbbbeab71 100644 --- a/src/queue.js +++ b/src/queue.js @@ -17,7 +17,7 @@ jQuery.extend( { // Speed up dequeue by getting out quickly if this is just a lookup if ( data ) { - if ( !queue || jQuery.isArray( data ) ) { + if ( !queue || Array.isArray( data ) ) { queue = dataPriv.access( elem, type, jQuery.makeArray( data ) ); } else { queue.push( data ); |