Skip to content
Permalink
Browse files
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 c4b1da4.
  • Loading branch information
dmethvin committed Jan 29, 2013
1 parent 0868699 commit aa3c929
Showing 1 changed file with 2 additions and 1 deletion.
@@ -411,7 +411,8 @@ jQuery.extend({
if ( obj == null ) {
return String( obj );
}
return typeof obj === "object" ?
// Support: Safari <5.1 (functionish RegExp)

This comment has been minimized.

Copy link
@enumag

enumag Jan 29, 2013

Commit message says Safari 5.1, comment says Safari <5.1 (not <= 5.1). Which one is correct?

This comment has been minimized.

Copy link
@dmethvin

dmethvin Jan 29, 2013

Author Member

Safari 5.1 or crappier, so I'll need to correct the comment. Thanks.

return typeof obj === "object" || typeof obj === "function" ?
class2type[ core_toString.call(obj) ] || "object" :
typeof obj;
},

0 comments on commit aa3c929

Please sign in to comment.