From: Rick Waldron Date: Mon, 17 Dec 2012 22:09:30 +0000 (-0500) Subject: 2.0: Remove isArray shim X-Git-Tag: 2.0.0b1~57^2~10 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=716963937db14e775bf21fd76053a03edc10da49;p=jquery.git 2.0: Remove isArray shim Signed-off-by: Rick Waldron --- diff --git a/src/core.js b/src/core.js index a116f6c89..3859caa01 100644 --- a/src/core.js +++ b/src/core.js @@ -397,9 +397,7 @@ jQuery.extend({ return jQuery.type(obj) === "function"; }, - isArray: Array.isArray || function( obj ) { - return jQuery.type(obj) === "array"; - }, + isArray: Array.isArray, isWindow: function( obj ) { return obj != null && obj == obj.window;