src/event-listener.js
function EventListener(el, context) {
    this.context = context || null;

    this.el = el;

    this.events = {};

    this._onEvent = this._onEvent.bind(this);
}
function EventListener(el, context) {
    this.context = context || null;

    this.el = el;

    this.events = {};

    this._onEvent = this._onEvent.bind(this);
}
function EventListener ( el , context ) { this . context = context || null ; this . el = el ; this . events = { } ; this . _onEvent = this . _onEvent . bind ( this ) ; }
Listens to events dispatched to an element or its children.

@param el The element to listen to.
@param context Optional context in which to execute the callbacks.
Listens to events dispatched to an element or its children .