/events

Event emitting and listening.

Primary LanguageJavaScriptMIT LicenseMIT

Anchor/Events

The events module implements support for emitting and listening to events.

Install

component
$ component install anchorjs/events
volo
$ volo add anchorjs/events

Compatibility

component

This module uses the AMD format. To include in component builds, use component-amd:

component build -u component-amd
Node

This module implements the interface exported by Node's Events module.

Tests

To run tests in a browser, execute the Make target for the desired browser:

$ make test-chrome
$ make test-firefox
$ make test-safari

Headless tests can be executed directly from a terminal:

$ make test-phantomjs

Credits

License

The MIT License

Copyright (c) 2012-2013 Jared Hanson <http://jaredhanson.net/>