src/aria/widgets/AriaSkinNormalization.js
function (widgetName, beanDef) {
            var states = beanDef.$properties.states;
            if (states == null) {
                return null;
            }
            var writer = new ariaUtilsFunctionWriter(["state", "stdState", "normal", "stdNormal"]);
            ariaUtilsInheritanceNormalization.writeInheritanceNormalization({
                writer : writer,
                beanDef : states.$properties.normal,
                varToNormalize : "state",
                parentVars : ["stdState", "normal", "stdNormal"],
                excludes : {
                    "frame" : true
                }
            });
            var res = writer.createFunction();
            writer.$dispose();
            return res;
        }
function (widgetName, beanDef) {
            var states = beanDef.$properties.states;
            if (states == null) {
                return null;
            }
            var writer = new ariaUtilsFunctionWriter(["state", "stdState", "normal", "stdNormal"]);
            ariaUtilsInheritanceNormalization.writeInheritanceNormalization({
                writer : writer,
                beanDef : states.$properties.normal,
                varToNormalize : "state",
                parentVars : ["stdState", "normal", "stdNormal"],
                excludes : {
                    "frame" : true
                }
            });
            var res = writer.createFunction();
            writer.$dispose();
            return res;
        }
function ( widgetName , beanDef ) { var states = beanDef . $properties . states ; if ( states == null ) { return null ; } var writer = new ariaUtilsFunctionWriter ( [ "state" , "stdState" , "normal" , "stdNormal" ] ) ; ariaUtilsInheritanceNormalization . writeInheritanceNormalization ( { writer : writer , beanDef : states . $properties . normal , varToNormalize : "state" , parentVars : [ "stdState" , "normal" , "stdNormal" ] , excludes : { "frame" : true } } ) ; var res = writer . createFunction ( ) ; writer . $dispose ( ) ; return res ; }
Create a state normalizer function for a widget.
@param {String} widgetName
@param {Object} beanDef
@return {Function}
Create a state normalizer function for a widget .