From 1b9575b9d14399e9426b9eacdd92b3717846c3f2 Mon Sep 17 00:00:00 2001 From: Manoj Kumar Date: Sun, 14 Aug 2016 10:54:16 +0000 Subject: Core: Deprecate jQuery.isArray Fixes gh-2961 Closes gh-3278 --- src/queue.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/queue.js') 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 ); -- cgit v1.2.3