src/aria/core/environment/EnvironmentBase.js
function (evt) {
            var changedProperties = evt.changedProperties;
            var localCfg = this._localDefCfg;
            var doUpdate = (changedProperties == null); // always do an update on reset
            if (changedProperties) {
                // look if the changed keys are part of this local environment
                for (var i = 0, l = changedProperties.length; i < l; i++) {
                    var propName = changedProperties[i];
                    if (propName in localCfg) {
                        doUpdate = true;
                        break;
                    }
                }
            }
            if (doUpdate) {
                evt.asyncCalls++;
                this._normAndApplyEnv(evt.callback);
            }
        }
function (evt) {
            var changedProperties = evt.changedProperties;
            var localCfg = this._localDefCfg;
            var doUpdate = (changedProperties == null); // always do an update on reset
            if (changedProperties) {
                // look if the changed keys are part of this local environment
                for (var i = 0, l = changedProperties.length; i < l; i++) {
                    var propName = changedProperties[i];
                    if (propName in localCfg) {
                        doUpdate = true;
                        break;
                    }
                }
            }
            if (doUpdate) {
                evt.asyncCalls++;
                this._normAndApplyEnv(evt.callback);
            }
        }
function ( evt ) { var changedProperties = evt . changedProperties ; var localCfg = this . _localDefCfg ; var doUpdate = ( changedProperties == null ) ; // always do an update on reset if ( changedProperties ) { // look if the changed keys are part of this local environment for ( var i = 0 , l = changedProperties . length ; i < l ; i ++ ) { var propName = changedProperties [ i ] ; if ( propName in localCfg ) { doUpdate = true ; break ; } } } if ( doUpdate ) { evt . asyncCalls ++ ; this . _normAndApplyEnv ( evt . callback ) ; } }
Listener for the changingEnvironment event from the aria.core.AppEnvironment. It checks if the changes in the
environment are managed by this class and calls _normAndApplyEnv if it is the case.
@param {Object} evt event object
Listener for the changingEnvironment event from the aria . core . AppEnvironment . It checks if the changes in the environment are managed by this class and calls _normAndApplyEnv if it is the case .