public/javascripts/yui/event/event-debug.js
function() {
        var l = this.subscribers.length, i;
        for (i=l-1; i>-1; i--) {
            this._delete(i);
        }

        this.subscribers=[];

        return l;
    }
function() {
        var l = this.subscribers.length, i;
        for (i=l-1; i>-1; i--) {
            this._delete(i);
        }

        this.subscribers=[];

        return l;
    }
function ( ) { var l = this . subscribers . length , i ; for ( i = l - 1 ; i > - 1 ; i -- ) { this . _delete ( i ) ; } this . subscribers = [ ] ; return l ; }
Removes all listeners
@method unsubscribeAll
@return {int} The number of listeners unsubscribed
Removes all listeners