src/aria/core/environment/EnvironmentBase.js
function (callback) {
            var validConfig = ariaCoreJsonValidator.normalize({
                json : ariaCoreAppEnvironment.applicationSettings,
                beanName : this._cfgPackage
            });
            if (validConfig) {
                this._applyEnvironment(callback);
                this.$raiseEvent("environmentChanged");
            } else {
                this.$callback(callback);
            }
        }
function (callback) {
            var validConfig = ariaCoreJsonValidator.normalize({
                json : ariaCoreAppEnvironment.applicationSettings,
                beanName : this._cfgPackage
            });
            if (validConfig) {
                this._applyEnvironment(callback);
                this.$raiseEvent("environmentChanged");
            } else {
                this.$callback(callback);
            }
        }
function ( callback ) { var validConfig = ariaCoreJsonValidator . normalize ( { json : ariaCoreAppEnvironment . applicationSettings , beanName : this . _cfgPackage } ) ; if ( validConfig ) { this . _applyEnvironment ( callback ) ; this . $raiseEvent ( "environmentChanged" ) ; } else { this . $callback ( callback ) ; } }
Normalize the part of the environment managed by this class, then calls _applyEnvironment to apply it if the
environment is valid. Normalization is immediate. Applying the environment can be asynchronous. The callback
is called either synchronously or asynchronously.
@param {aria.core.CfgBeans:Callback} callback Will be called when the environment is applied.
Normalize the part of the environment managed by this class then calls _applyEnvironment to apply it if the environment is valid . Normalization is immediate . Applying the environment can be asynchronous . The callback is called either synchronously or asynchronously .