src/aria/core/JsObject.js
function (lstCfg, itfWrap) {
                if (this._listeners == null) {
                    return;
                }
                var defaultScope = (lstCfg.scope) ? lstCfg.scope : null;
                var lsn;
                for (var evt in lstCfg) {
                    if (!lstCfg.hasOwnProperty(evt)) {
                        continue;
                    }
                    if (evt == 'scope') {
                        continue;
                    }
                    if (this._listeners[evt]) {
                        var lsnRm = lstCfg[evt];
                        if (typeof(lsnRm) == 'function') {
                            if (defaultScope == null) {
                                this.$logError(this.MISSING_SCOPE, evt);
                                continue;
                            }
                            __removeCallback(this._listeners, evt, defaultScope, lsnRm, itfWrap);
                        } else {
                            if (lsnRm.scope == null) {
                                lsnRm.scope = defaultScope;
                            }
                            if (lsnRm.scope == null) {
                                this.$logError(this.MISSING_SCOPE, evt);
                                continue;
                            }
                            __removeCallback(this._listeners, evt, lsnRm.scope, lsnRm.fn, itfWrap, lsnRm.firstOnly);
                        }

                    }
                }
                defaultScope = lsn = lsnRm = null;
            }
function (lstCfg, itfWrap) {
                if (this._listeners == null) {
                    return;
                }
                var defaultScope = (lstCfg.scope) ? lstCfg.scope : null;
                var lsn;
                for (var evt in lstCfg) {
                    if (!lstCfg.hasOwnProperty(evt)) {
                        continue;
                    }
                    if (evt == 'scope') {
                        continue;
                    }
                    if (this._listeners[evt]) {
                        var lsnRm = lstCfg[evt];
                        if (typeof(lsnRm) == 'function') {
                            if (defaultScope == null) {
                                this.$logError(this.MISSING_SCOPE, evt);
                                continue;
                            }
                            __removeCallback(this._listeners, evt, defaultScope, lsnRm, itfWrap);
                        } else {
                            if (lsnRm.scope == null) {
                                lsnRm.scope = defaultScope;
                            }
                            if (lsnRm.scope == null) {
                                this.$logError(this.MISSING_SCOPE, evt);
                                continue;
                            }
                            __removeCallback(this._listeners, evt, lsnRm.scope, lsnRm.fn, itfWrap, lsnRm.firstOnly);
                        }

                    }
                }
                defaultScope = lsn = lsnRm = null;
            }
function ( lstCfg , itfWrap ) { if ( this . _listeners == null ) { return ; } var defaultScope = ( lstCfg . scope ) ? lstCfg . scope : null ; var lsn ; for ( var evt in lstCfg ) { if ( ! lstCfg . hasOwnProperty ( evt ) ) { continue ; } if ( evt == 'scope' ) { continue ; } if ( this . _listeners [ evt ] ) { var lsnRm = lstCfg [ evt ] ; if ( typeof ( lsnRm ) == 'function' ) { if ( defaultScope == null ) { this . $logError ( this . MISSING_SCOPE , evt ) ; continue ; } __removeCallback ( this . _listeners , evt , defaultScope , lsnRm , itfWrap ) ; } else { if ( lsnRm . scope == null ) { lsnRm . scope = defaultScope ; } if ( lsnRm . scope == null ) { this . $logError ( this . MISSING_SCOPE , evt ) ; continue ; } __removeCallback ( this . _listeners , evt , lsnRm . scope , lsnRm . fn , itfWrap , lsnRm . firstOnly ) ; } } } defaultScope = lsn = lsnRm = null ; }
Remove a listener from the listener list
@param {Object} lstCfg list of events to disconnect - same as for addListener(), except that scope is
mandatory Note: if fn is not provided, all listeners associated to the scope will be removed
@param {Object} itfWrap
Remove a listener from the listener list