Skip to content

Commit

Permalink
oops
Browse files Browse the repository at this point in the history
  • Loading branch information
hochang committed Nov 8, 2012
1 parent 69a5607 commit 16ae7f9
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions modules/engine/lib/engine.js
Expand Up @@ -457,20 +457,6 @@ Engine.prototype.execute = function() {
sweep(dependency);
}
});

/*if(statement.type === 'try'){
var dependsDone = _.all(statement.dependsOn, function(tryline){
return execState[tryline.id].state === 'statement-success';
})
if(!dependsDone){
//block revisit try from lines in this scope.
statement.lock = true;
_.each(statement.dependsOn, function(tryline){
sweep(tryline);
});
return;
}
} */
if(statement.rhs) {
_.each(statement.rhs.dependsOn, function(dependency) {
if(execState[dependency.id].state === eventTypes.STATEMENT_WAITING) {
Expand Down

0 comments on commit 16ae7f9

Please sign in to comment.