mirror of
https://github.com/jquery/jquery.git
synced 2026-04-20 03:01:22 -04:00
Revert "Fix #13291, no longer need the functionish-regex guard."
Turns out this is still needed by Safari 5.1, which we're still supporting.
This reverts commit c4b1da4007.
This commit is contained in:
@@ -411,7 +411,8 @@ jQuery.extend({
|
||||
if ( obj == null ) {
|
||||
return String( obj );
|
||||
}
|
||||
return typeof obj === "object" ?
|
||||
// Support: Safari <5.1 (functionish RegExp)
|
||||
return typeof obj === "object" || typeof obj === "function" ?
|
||||
class2type[ core_toString.call(obj) ] || "object" :
|
||||
typeof obj;
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user