Bump to v3.1.2.

This commit is contained in:
jdalton
2015-02-13 09:21:52 -08:00
committed by John-David Dalton
parent 971ec866a8
commit 5ce4a06dfe
92 changed files with 724 additions and 295 deletions

View File

@@ -1,5 +1,5 @@
/**
* lodash 3.1.1 (Custom Build) <https://lodash.com/>
* lodash 3.1.2 (Custom Build) <https://lodash.com/>
* Build: `lodash modern modularize exports="npm" -o ./`
* Copyright 2012-2015 The Dojo Foundation <http://dojofoundation.org/>
* Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
@@ -37,7 +37,7 @@ function isKey(value, object) {
}
/**
* Converts `value` to an object if it is not one.
* Converts `value` to an object if it's not one.
*
* @private
* @param {*} value The value to process.
@@ -89,12 +89,12 @@ function isObject(value) {
// Avoid a V8 JIT bug in Chrome 19-20.
// See https://code.google.com/p/v8/issues/detail?id=2291 for more details.
var type = typeof value;
return type == 'function' || (!!value && type == 'object');
return !!value && (type == 'object' || type == 'function');
}
/**
* This method is like `_.get` except that if the resolved value is a function
* it is invoked with the `this` binding of its parent object and its result
* it's invoked with the `this` binding of its parent object and its result
* is returned.
*
* @static