Bump to v3.6.0.

This commit is contained in:
John-David Dalton
2015-12-16 17:49:07 -08:00
parent 707fe171fc
commit 9724afd7a6
193 changed files with 2191 additions and 1764 deletions

View File

@@ -1,9 +1,9 @@
define(['../internal/baseFor', '../internal/bindCallback', './keysIn'], function(baseFor, bindCallback, keysIn) {
define(['../internal/baseFor', '../internal/createForIn'], function(baseFor, createForIn) {
/**
* Iterates over own and inherited enumerable properties of an object invoking
* `iteratee` for each property. The `iteratee` is bound to `thisArg` and invoked
* with three arguments; (value, key, object). Iterator functions may exit
* with three arguments: (value, key, object). Iterator functions may exit
* iteration early by explicitly returning `false`.
*
* @static
@@ -27,12 +27,7 @@ define(['../internal/baseFor', '../internal/bindCallback', './keysIn'], function
* });
* // => logs 'a', 'b', and 'c' (iteration order is not guaranteed)
*/
function forIn(object, iteratee, thisArg) {
if (typeof iteratee != 'function' || typeof thisArg != 'undefined') {
iteratee = bindCallback(iteratee, thisArg, 3);
}
return baseFor(object, iteratee, keysIn);
}
var forIn = createForIn(baseFor);
return forIn;
});