Comparing version 1.0.0 to 1.1.0
{ | ||
"name": "barracks", | ||
"version": "1.0.0", | ||
"version": "1.1.0", | ||
"description": "An event dispatcher for the flux architecture", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -35,3 +35,3 @@ # Barracks | ||
dispatcher.dispatch('eventName', 'Loki'); | ||
// -> 'Loki got triggered' | ||
// => 'Loki got triggered' | ||
```` | ||
@@ -58,9 +58,9 @@ | ||
dispatcher.dispatch('eventName', 12); | ||
// -> 12 | ||
// => 12 | ||
dispatcher.dispatch('otherEvent'); | ||
// -> throw Error | ||
// => throw Error | ||
dispatcher.dispatch('otherEvent', null); | ||
// -> 'hi' | ||
// => 'hi' | ||
```` | ||
@@ -67,0 +67,0 @@ |
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