Bump to v3.10.0.

This commit is contained in:
jdalton
2015-06-14 22:21:58 -07:00
parent 6ee2b9a7b8
commit 4bd2890bbd
121 changed files with 777 additions and 649 deletions

View File

@@ -1,4 +1,4 @@
import isObjectLike from '../internal/isObjectLike';
import isObject from './isObject';
/** `Object#toString` result references. */
var regexpTag = '[object RegExp]';
@@ -7,7 +7,7 @@ var regexpTag = '[object RegExp]';
var objectProto = Object.prototype;
/**
* Used to resolve the [`toStringTag`](https://people.mozilla.org/~jorendorff/es6-draft.html#sec-object.prototype.tostring)
* Used to resolve the [`toStringTag`](http://ecma-international.org/ecma-262/6.0/#sec-object.prototype.tostring)
* of values.
*/
var objToString = objectProto.toString;
@@ -29,7 +29,7 @@ var objToString = objectProto.toString;
* // => false
*/
function isRegExp(value) {
return isObjectLike(value) && objToString.call(value) == regexpTag;
return isObject(value) && objToString.call(value) == regexpTag;
}
export default isRegExp;