Event emitter component (started from component/emitter).
$ npm install tower-emitter
$ component install tower/emitter
Emitter may also be used as a mixin. For example
a "plain" object may become an emitter, or you may
extend an existing prototype.
var Emitter = ;var emitter = ;emitter;
As a mixin:
var Emitter = ;var user = name: 'tobi' ;;user;
As a prototype mixin:
var Emitter = ;;
Register a single-shot
removed immediately after it is invoked the
fn, or pass only the
name to remove all handlers for
event with variable option args.
Return an array of callbacks, or an empty array.
Check if this emitter has
$ npm install -g testem
Then, open all the browsers you want to test by going to the outputted url defaulted to http://localhost:7357
Tests will run on any open browser linked to the stated url and your current Node environment.
Before you send a pull request, make sure your code meets the style guidelines at https://github.com/tower/style-guide and all tests pass.