From: John Resig Date: Mon, 17 Nov 2008 16:32:05 +0000 (+0000) Subject: Standardized the type checks across core. isFunction and isArray now use Object.proto... X-Git-Url: http://git.asbjorn.it/?a=commitdiff_plain;ds=inline;h=ab551c2b14ac6b0511cf3da10ca224ce461a0f10;hp=ab551c2b14ac6b0511cf3da10ca224ce461a0f10;p=jquery.git Standardized the type checks across core. isFunction and isArray now use Object.prototype.toString to verify the type, .constructor use was removed in favor of typeof, typeof checks now use ===, undefined checks use === undefined. All of this is outlined in the new style guidelines: docs.jquery.com/JQuery_Core_Style_Guidelines#Type_Checks. Fixes bug #3618. ---