src/console/simpleyui.js
function() {
        var evt = this.evt, detached = 0, i;
        if (evt) {
            if (Y.Lang.isArray(evt)) {
                for (i=0; i<evt.length; i++) {
                    detached += evt[i].detach();
                }
            } else { 
                evt._delete(this.sub);
                detached = 1;
            }

        }

        return detached;
    }
function() {
        var evt = this.evt, detached = 0, i;
        if (evt) {
            if (Y.Lang.isArray(evt)) {
                for (i=0; i<evt.length; i++) {
                    detached += evt[i].detach();
                }
            } else { 
                evt._delete(this.sub);
                detached = 1;
            }

        }

        return detached;
    }
function ( ) { var evt = this . evt , detached = 0 , i ; if ( evt ) { if ( Y . Lang . isArray ( evt ) ) { for ( i = 0 ; i < evt . length ; i ++ ) { detached += evt [ i ] . detach ( ) ; } } else { evt . _delete ( this . sub ) ; detached = 1 ; } } return detached ; }
Detaches this subscriber
@method detach
Detaches this subscriber