Bump to v3.10.1.

This commit is contained in:
John-David Dalton
2015-08-03 08:35:01 -07:00
parent 4bd2890bbd
commit 1d77dfa4b7
40 changed files with 53 additions and 52 deletions

View File

@@ -11,11 +11,12 @@ import lodash from '../chain/lodash';
* @returns {boolean} Returns `true` if `func` has a lazy counterpart, else `false`.
*/
function isLaziable(func) {
var funcName = getFuncName(func);
if (!(funcName in LazyWrapper.prototype)) {
var funcName = getFuncName(func),
other = lodash[funcName];
if (typeof other != 'function' || !(funcName in LazyWrapper.prototype)) {
return false;
}
var other = lodash[funcName];
if (func === other) {
return true;
}