mirror of
https://github.com/jquery/jquery.git
synced 2025-01-10 18:24:24 +00: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:
parent
0868699ce5
commit
aa3c92979a
@ -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;
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user