Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 1 addition & 7 deletions dist/async.js
Original file line number Diff line number Diff line change
Expand Up @@ -71,12 +71,6 @@
);
}

function _each(coll, iterator) {
return _isArrayLike(coll) ?
_arrayEach(coll, iterator) :
_forEachOf(coll, iterator);
}

function _arrayEach(arr, iterator) {
var index = -1,
length = arr.length;
Expand Down Expand Up @@ -225,7 +219,7 @@
async.eachOf = function (object, iterator, callback) {
callback = _once(callback || noop);

var nextKey = _keyIterator(obj);
var nextKey = _keyIterator(object);
var key, running = 0;
while ((key = nextKey()) != null) {
running += 1;
Expand Down