Bump to v4.0.0.

This commit is contained in:
John-David Dalton
2015-09-17 17:52:09 -07:00
parent 1d77dfa4b7
commit 54e7baecc3
675 changed files with 11257 additions and 8085 deletions

View File

@@ -1,9 +1,8 @@
import baseFor from './baseFor';
import keysIn from '../object/keysIn';
import keysIn from '../keysIn';
/**
* The base implementation of `_.forIn` without support for callback
* shorthands and `this` binding.
* The base implementation of `_.forIn` without support for iteratee shorthands.
*
* @private
* @param {Object} object The object to iterate over.
@@ -11,7 +10,7 @@ import keysIn from '../object/keysIn';
* @returns {Object} Returns `object`.
*/
function baseForIn(object, iteratee) {
return baseFor(object, iteratee, keysIn);
return object == null ? object : baseFor(object, iteratee, keysIn);
}
export default baseForIn;