Permalink
Browse files

Removed extraneous code in Sequence. Fixed self/this mistake.

  • Loading branch information...
1 parent 22d20f1 commit 717b3beea7aa3bd58a427712be4c96333acc7e74 @bnoguchi committed Apr 5, 2011
Showing with 1 addition and 5 deletions.
  1. +1 −5 lib/sequence.js
View
@@ -13,15 +13,11 @@ MaterializedSequence.prototype = {
, steps = this.steps
, firstStep = steps[0];
- var promise;
- for (var i = 0, l = steps.length, step; i < l; i++) {
- step = steps[i];
- }
var promises = this.steps.map( function (step) {
var accepts = step.accepts
, promises = step.promises
// TODO step.block getter?
- , block = this.module[step.name]();
+ , block = seq.module[step.name]();
});

0 comments on commit 717b3be

Please sign in to comment.