src/aria/widgets/AriaSkinNormalization.js
function (general, beanType) {
            if (!general) {
                general = {};
            }
            var param = {
                json : general,
                beanName : "aria.widgets.AriaSkinBeans." + beanType
            };
            var normalizationResults = this._normalize(param);
            if (!normalizationResults.result) {
                this.$logWarn(this.GENERAL_NORMALIZATION_ERROR, [normalizationResults.message.replace(/\n/g, "\n ")]);
            }
            general['aria:skinNormalized'] = true;
            return param.json;
        }
function (general, beanType) {
            if (!general) {
                general = {};
            }
            var param = {
                json : general,
                beanName : "aria.widgets.AriaSkinBeans." + beanType
            };
            var normalizationResults = this._normalize(param);
            if (!normalizationResults.result) {
                this.$logWarn(this.GENERAL_NORMALIZATION_ERROR, [normalizationResults.message.replace(/\n/g, "\n ")]);
            }
            general['aria:skinNormalized'] = true;
            return param.json;
        }
function ( general , beanType ) { if ( ! general ) { general = { } ; } var param = { json : general , beanName : "aria.widgets.AriaSkinBeans." + beanType } ; var normalizationResults = this . _normalize ( param ) ; if ( ! normalizationResults . result ) { this . $logWarn ( this . GENERAL_NORMALIZATION_ERROR , [ normalizationResults . message . replace ( / \n / g , "\n " ) ] ) ; } general [ 'aria:skinNormalized' ] = true ; return param . json ; }
Normalizes the given general skin properties and returns it.
@param {aria.widgets.AriaSkinBeans.WidgetsGeneralCfg|PageGeneralCfg} general
@param {String} beanType
Normalizes the given general skin properties and returns it .