src/js/libs/spiritual-gui.js
function(arg, handler) {
		handler = handler ? handler : this.spirit;
		gui.Array.make(arg).forEach(function(type) {
			if (this._removechecks(type, [handler])) {
				if (this._handlers[type]) { // weirdo Gecko condition...
					var index = this._handlers[type].indexOf(type);
					gui.Array.remove(this._handlers[type], index);
					if (this._handlers[type].length === 0) {
						delete this._handlers[type];
					}
				}
			}
		}, this);
		return this.spirit;
	}
function(arg, handler) {
		handler = handler ? handler : this.spirit;
		gui.Array.make(arg).forEach(function(type) {
			if (this._removechecks(type, [handler])) {
				if (this._handlers[type]) { // weirdo Gecko condition...
					var index = this._handlers[type].indexOf(type);
					gui.Array.remove(this._handlers[type], index);
					if (this._handlers[type].length === 0) {
						delete this._handlers[type];
					}
				}
			}
		}, this);
		return this.spirit;
	}
function ( arg , handler ) { handler = handler ? handler : this . spirit ; gui . Array . make ( arg ) . forEach ( function ( type ) { if ( this . _removechecks ( type , [ handler ] ) ) { if ( this . _handlers [ type ] ) { // weirdo Gecko condition... var index = this . _handlers [ type ] . indexOf ( type ) ; gui . Array . remove ( this . _handlers [ type ] , index ) ; if ( this . _handlers [ type ] . length === 0 ) { delete this . _handlers [ type ] ; } } } } , this ) ; return this . spirit ; }
Remove one or more action handlers.
@param {object} arg
@param @optional {object} handler implements LifeListener
interface, defaults to spirit
@returns {gui.Spirit}
Remove one or more action handlers .