index.js
function Delegator(id, events, capture, bubble, contextDocument) {
    this.bubble = bubble;
    this.capture = capture;
    this.document = contextDocument;
    this.documentElement = contextDocument.documentElement;
    this.events = events;
    this.id = id;
    this.registry = {};
}
function Delegator(id, events, capture, bubble, contextDocument) {
    this.bubble = bubble;
    this.capture = capture;
    this.document = contextDocument;
    this.documentElement = contextDocument.documentElement;
    this.events = events;
    this.id = id;
    this.registry = {};
}
function Delegator ( id , events , capture , bubble , contextDocument ) { this . bubble = bubble ; this . capture = capture ; this . document = contextDocument ; this . documentElement = contextDocument . documentElement ; this . events = events ; this . id = id ; this . registry = { } ; }
Generic delegator for user interaction events,
intended to be consumed by an encapsulation module
that exposes an API that addresses concerns like
proper usage, privacy, sensible defaults and such.

@param {String} id
@param {Array} events
@param {Array} capture
@param {Array} bubble
@param {Document} contextDocument
@constructor
Generic delegator for user interaction events intended to be consumed by an encapsulation module that exposes an API that addresses concerns like proper usage privacy sensible defaults and such .