whole_func_string: 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 });
    }
func_code_string: 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 });
    }
func_documentation_string: /*
  Adds event handlers