/eventemitter

API compatible port of Node.js' EventEmitter to the browser via Component.

Primary LanguageJavaScript

compositejs/eventemitter

API compatible port of Node.js' EventEmitter to the browser via Component.

Installation

Via component: $ component install compositejs/eventemitter

Standalone: Download lib/EventEmitter.js and look for the global EventEmitter class.

API

var EventEmitter = require('EventEmitter');

See http://nodejs.org/api/events.html.

License

MIT