Comparing version 0.0.12 to 0.0.13
@@ -267,5 +267,5 @@ /* | ||
if (this.result) { | ||
cb.apply(this.context || this, this.result); | ||
cb && cb.apply(this.context || this, this.result); | ||
} else { | ||
this.completionHandlers.push(cb); | ||
cb && this.completionHandlers.push(cb); | ||
} | ||
@@ -384,3 +384,3 @@ return this.f; | ||
setTimeout(function () { | ||
handler.apply(this.context || this, args); | ||
handler && handler.apply(this.context || this, args); | ||
}.bind(this), 0); | ||
@@ -387,0 +387,0 @@ }, this); |
{ | ||
"name": "ff", | ||
"version": "0.0.12", | ||
"version": "0.0.13", | ||
"description": "Concise, Powerful Asynchronous Flow Control in JavaScript", | ||
@@ -5,0 +5,0 @@ "engine": [ "node >=0.2.0" ], |
31236