browser-emitter
Simple Event Emitter for browser. Using object as the agent of events. You can use this both node and browsers.
Install
Install with npm:
npm install browser-emitter
API - Set functions by args
var Emitter = ; var emitter = ; emitter; emitter; // => 'a', 'b', 'c'
also use on browser
if you want to inherit Emitter to another class, use prototype chain.
// for Factory var { Emitter; } Emitter;