code: function(event) {
  			if (!event.type) {
  				throw new Error("unspecified type");
  			}
  			var listeners = this._namedListeners[event.type];
  			if (listeners) {
  				listeners.forEach(function(listener) {
  					try {
  						if (typeof listener === "function") {
  							listener(event);
  						} else {
  							listener.handleEvent(event);
  						}
  					} catch (e) {
  						if (typeof console !== 'undefined') {
  							console.log(e); // for now, probably should dispatch an ("error", e)
  						}
  					}			
  				});
  			}
  			return !event.defaultPrevented;
  		}
docs: Dispatches a named event along with an arbitrary set of arguments. Any arguments after <code>eventName</code>
  will be passed to the event listener(s).
  @param {Object} event The event to dispatch. The event object MUST have a type field
  @returns {boolean} false if the event has been canceled and any associated default action should not be performed
  listeners (if any) have resolved.