Bump to v3.0.5.

This commit is contained in:
jdalton
2015-03-25 00:43:38 -07:00
committed by John-David Dalton
parent 85f4260a84
commit b368027e2c
37 changed files with 462 additions and 212 deletions

View File

@@ -1,5 +1,5 @@
/**
* lodash 3.0.4 (Custom Build) <https://lodash.com/>
* lodash 3.0.5 (Custom Build) <https://lodash.com/>
* Build: `lodash modularize exports="npm" -o ./`
* Copyright 2012-2016 The Dojo Foundation <http://dojofoundation.org/>
* Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
@@ -85,7 +85,8 @@ var objectToString = objectProto.toString;
* // => false
*/
function isLength(value) {
return typeof value == 'number' && value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER;
return typeof value == 'number' &&
value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER;
}
/**
@@ -132,7 +133,8 @@ function isObjectLike(value) {
* // => false
*/
function isTypedArray(value) {
return isObjectLike(value) && isLength(value.length) && !!typedArrayTags[objectToString.call(value)];
return isObjectLike(value) &&
isLength(value.length) && !!typedArrayTags[objectToString.call(value)];
}
module.exports = isTypedArray;