Bump to v3.0.1.

This commit is contained in:
jdalton
2015-01-26 20:13:55 -08:00
parent 9b7c4d6761
commit 3b2df88eab
14 changed files with 63 additions and 42 deletions

View File

@@ -1,4 +1,4 @@
define(['./baseToString'], function(baseToString) {
define([], function() {
/** `Object#toString` result references. */
var boolTag = '[object Boolean]',
@@ -43,7 +43,7 @@ define(['./baseToString'], function(baseToString) {
case stringTag:
// Coerce regexes to strings and treat strings primitives and string
// objects as equal. See https://es5.github.io/#x15.10.6.4 for more details.
return object == baseToString(other);
return object == (other + '');
}
return false;
}