function(eventType, handler) {
    if (this.deferredEvents === null)
      this.deferredEvents = {};
    var handlers = this.deferredEvents[eventType];
    if (handlers === undefined)
      handlers = this.deferredEvents[eventType] = [];
    handlers.push({ eventType: eventType, handler: handler });
  }
function(eventType, handler) {
    if (this.deferredEvents === null)
      this.deferredEvents = {};
    var handlers = this.deferredEvents[eventType];
    if (handlers === undefined)
      handlers = this.deferredEvents[eventType] = [];
    handlers.push({ eventType: eventType, handler: handler });
  }
function ( eventType , handler ) { if ( this . deferredEvents === null ) this . deferredEvents = { } ; var handlers = this . deferredEvents [ eventType ] ; if ( handlers === undefined ) handlers = this . deferredEvents [ eventType ] = [ ] ; handlers . push ( { eventType : eventType , handler : handler } ) ; }
/*
Adds event handlers
/ * Adds event handlers