Skip to content

Commit

Permalink
fixed test that I broke before commiting :)
Browse files Browse the repository at this point in the history
  • Loading branch information
Gord Tanner (Laptop) committed May 9, 2011
1 parent 73f6a41 commit 71879a9
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions lib/jWorkflow.js
Expand Up @@ -51,9 +51,13 @@ var jWorkflow = (function () {

var f = function (prev, baton) {
baton.take();
func.start(function (result) {
baton.pass(result);
}, context, prev);
func.start({
callback: function (result) {
baton.pass(result);
},
context: context,
initialValue: prev
});
};

_workflow.push({func: f, context: context});
Expand Down

0 comments on commit 71879a9

Please sign in to comment.