A DOM-agnostic eventing library with bubbling.
// Inherit from Eventfulvar Thing = Eventful// Instantiatevar foo = Thingvar bar = Thing // bar events will bubble to foo// Attach some listenersfoobar// Then trigger the eventsbar// => bar: Hello// => foo: Hellofoo// => foo: Hello
$ npm install ekho
This library assumes an ES5 environment, but can be easily supported in ES3 platforms by the use of shims. Just include es5-shim :3
MIT/X11. i.e.: Do whatever you fucking want, bro.