Comparing version 4.2.2 to 4.3.0
@@ -37,2 +37,3 @@ /** | ||
this._current = []; | ||
this._isPending = {}; | ||
@@ -60,2 +61,3 @@ this._isHandled = {}; | ||
this._current.push(action); | ||
this._isDispatching = true; | ||
@@ -152,2 +154,3 @@ | ||
function fin() { | ||
this._current.pop(); | ||
this._isHandled[action] = true; | ||
@@ -157,3 +160,4 @@ done(); | ||
debug('wait for \'%s\'', action); | ||
this._current.push(action); | ||
debug('\'%s\' -> \'%s\'', this._current[this._current.length - 2], action); | ||
fn(this.locals.payload, fin.bind(this)); | ||
@@ -202,2 +206,3 @@ | ||
this.locals = null; | ||
this._current = []; | ||
} |
{ | ||
"name": "barracks", | ||
"version": "4.2.2", | ||
"version": "4.3.0", | ||
"description": "An event dispatcher for the flux architecture", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
12251
160