www/build/tools/csslint-rhino.js
function(type, listener){
        if (this._handlers[type] instanceof Array){
            var handlers = this._handlers[type];
            for (var i=0, len=handlers.length; i < len; i++){
                if (handlers[i] === listener){
                    handlers.splice(i, 1);
                    break;
                }
            }
        }
    }
function(type, listener){
        if (this._handlers[type] instanceof Array){
            var handlers = this._handlers[type];
            for (var i=0, len=handlers.length; i < len; i++){
                if (handlers[i] === listener){
                    handlers.splice(i, 1);
                    break;
                }
            }
        }
    }
function ( type , listener ) { if ( this . _handlers [ type ] instanceof Array ) { var handlers = this . _handlers [ type ] ; for ( var i = 0 , len = handlers . length ; i < len ; i ++ ) { if ( handlers [ i ] === listener ) { handlers . splice ( i , 1 ) ; break ; } } } }
Removes a listener for a given event type.
@param {String} type The type of event to remove a listener from.
@param {Function} listener The function to remove from the event.
@return {void}
@method detach
Removes a listener for a given event type .