Comparing version 0.2.13 to 0.2.14
@@ -150,2 +150,6 @@ /** | ||
Dispatcher.prototype.dispatch = function dispatch(actionName, payload) { | ||
if (!actionName) { | ||
throw new Error('actionName parameter `' + actionName + '` is invalid.'); | ||
} | ||
if (this.currentAction) { | ||
@@ -152,0 +156,0 @@ throw new Error('Cannot call dispatch while another dispatch is executing. Attempted to execute \'' + actionName + '\' but \'' + this.currentAction.name + '\' is already executing.'); |
{ | ||
"name": "dispatchr", | ||
"version": "0.2.13", | ||
"version": "0.2.14", | ||
"description": "A Flux dispatcher for applications that run on the server and the client.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
Sorry, the diff of this file is not supported yet
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
71576
461