Bump to v4.16.5.

This commit is contained in:
John-David Dalton
2016-10-30 20:06:57 -07:00
parent 52a75b18e4
commit b58a63eff1
112 changed files with 494 additions and 517 deletions

View File

@@ -1,18 +1,8 @@
define(['./isObjectLike'], function(isObjectLike) {
define(['./_baseGetTag', './isObjectLike'], function(baseGetTag, isObjectLike) {
/** `Object#toString` result references. */
var argsTag = '[object Arguments]';
/** Used for built-in method references. */
var objectProto = Object.prototype;
/**
* Used to resolve the
* [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
* of values.
*/
var objectToString = objectProto.toString;
/**
* The base implementation of `_.isArguments`.
*
@@ -21,7 +11,7 @@ define(['./isObjectLike'], function(isObjectLike) {
* @returns {boolean} Returns `true` if `value` is an `arguments` object,
*/
function baseIsArguments(value) {
return isObjectLike(value) && objectToString.call(value) == argsTag;
return isObjectLike(value) && baseGetTag(value) == argsTag;
}
return baseIsArguments;