Context-less, namespace-able event system via publish-subscribe observer pattern.
EventBus is built to be usable from bower
.
Usage:
bower install EventBus
EventBus is licensed under the MIT license.
Uses common on
, off
, and trigger
interface calls.
Uses namespacing separated by a period .
. Namespaces are used to reference specific call groups. Namespaces cannot be triggered directly. Events can be called with or without a namespace.
The event bus allows for listening to either an event directly, namespace directly, or a namespaced event.
Includes minor integration testing code.