Bump to v3.0.1.

This commit is contained in:
jdalton
2015-01-29 20:56:54 -08:00
parent 5379c1996b
commit 891d0482c6
14 changed files with 34 additions and 27 deletions

View File

@@ -1,5 +1,3 @@
import baseToString from './baseToString';
/** `Object#toString` result references. */
var boolTag = '[object Boolean]',
dateTag = '[object Date]',
@@ -43,7 +41,7 @@ function equalByTag(object, other, tag) {
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;
}