Skip to content

Commit

Permalink
x
Browse files Browse the repository at this point in the history
  • Loading branch information
maxtaco committed Jun 11, 2015
1 parent 368a13d commit 5b7b0e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion yield.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ function foo (x, cb) { var __iced_passed_deferral = iced.findDeferrals(arguments
for (var i = 0; i < x; i++) {
(function(it) { var __iced_deferrals = new Deferrals(it, { parent : __iced_passed_deferral });
console.log("wait " + i);
setTimeout(__iced_deferrals.defer(), i*10); __iced_deferalls.fulfill(); yield false; })(__it); }
setTimeout(__iced_deferrals.defer(), i*10); __iced_deferalls.fulfill(); })(__it); yield; }
cb()
}

Expand Down

0 comments on commit 5b7b0e9

Please sign in to comment.