]> source.dussan.org Git - jquery.git/commitdiff
Fix #13291, no longer need the functionish-regex guard.
authorDave Methvin <dave.methvin@gmail.com>
Sun, 27 Jan 2013 01:31:37 +0000 (20:31 -0500)
committerDave Methvin <dave.methvin@gmail.com>
Sun, 27 Jan 2013 01:31:37 +0000 (20:31 -0500)
src/core.js

index d909c8144dda508cc72ca0a4e5924f1c1f7dd468..9efdc229e0476fc89d7312ff888b472a3b59d91e 100644 (file)
@@ -407,7 +407,7 @@ jQuery.extend({
                if ( obj == null ) {
                        return String( obj );
                }
-               return typeof obj === "object" || typeof obj === "function" ?
+               return typeof obj === "object" ?
                        class2type[ core_toString.call(obj) ] || "object" :
                        typeof obj;
        },