Skip to content
Browse files

[bug fix] Clear arguments passed from ready method before running the…

… next task
  • Loading branch information...
1 parent 4a12f28 commit e3fdf804669979e12aabf805e44671d8f63ae96b @ben-lin ben-lin committed
Showing with 13 additions and 7 deletions.
  1. +7 −1 History.md
  2. +5 −5 lib/flow.js
  3. +1 −1 package.json
View
8 History.md
@@ -1,6 +1,12 @@
+## 0.0.3 / 2012-01-16
+
+ - [bug fix] Clear arguments passed from ready method before running the next task
+
+
+
## 0.0.2 / 2012-01-16
- - Merge arguments from parallel tasks and pass to the next task
+ - [bug fix] Merge arguments from parallel tasks and pass to the next task
View
10 lib/flow.js
@@ -160,8 +160,8 @@ Flow.prototype = {
arg = stack_series_args;
- this._run_series( arg );
this._ready_args = [];
+ this._run_series( arg );
}
},
@@ -288,7 +288,7 @@ Flow.prototype = {
this.series( function (){
var args;
-
+
if( arguments.length === 1 ){
args = [];
}else{
@@ -351,13 +351,13 @@ Flow.prototype = {
/**
* @public
- * @version 0.0.2
+ * @version 0.0.3
*/
-Flow.version = '0.0.2';
+Flow.version = '0.0.3';
/**
* @exports Flow as node.flow
*/
-module.exports = Flow;
+module.exports = Flow;
View
2 package.json
@@ -1,6 +1,6 @@
{
"name" : "node.flow",
- "version" : "0.0.2",
+ "version" : "0.0.3",
"description" : "A deadly simple flow control package for node.js",
"keywords" : [ "flow", "node.flow", "flow control", "async", "sync", "steps" ],
"author" : "dreamerslab <ben@dreamerslab.com>",

0 comments on commit e3fdf80

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