Skip to content
Browse files

Fix for when.some

  • Loading branch information...
1 parent 17edb82 commit 7ff3e5d2cd63813f63d09be214706a392b6e52e2 @briancavalier briancavalier committed Jun 27, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 when.js
View
4 when.js
@@ -399,7 +399,7 @@ define(function() { "use strict";
return when(promisesOrValues, function(promisesOrValues) {
- var toResolve, results, deferred, resolver, rejecter, handleProgress, forEach;
+ var toResolve, results, deferred, resolver, rejecter, handleProgress;
deferred = defer();
@@ -409,7 +409,7 @@ define(function() { "use strict";
} else {
results = {};
toResolve = 0;
- forEach(promisesOrValues, function() { toResolve++; });
+ forEachKey(promisesOrValues, function() { toResolve++; });
}
// Wrapper so that rejecter can be replaced

0 comments on commit 7ff3e5d

Please sign in to comment.
Something went wrong with that request. Please try again.