src/aria/ext/StressCss.js
function (cfg) {
        cfg = cfg || {};

        for (var prop in defaults) {
            if (defaults.hasOwnProperty(prop) && !(prop in cfg)) {
                cfg[prop] = defaults[prop];
            }
        }

        cfg.allSelectors = getAllSelectors(cfg.widget);

        return cfg;
    }
function (cfg) {
        cfg = cfg || {};

        for (var prop in defaults) {
            if (defaults.hasOwnProperty(prop) && !(prop in cfg)) {
                cfg[prop] = defaults[prop];
            }
        }

        cfg.allSelectors = getAllSelectors(cfg.widget);

        return cfg;
    }
function ( cfg ) { cfg = cfg || { } ; for ( var prop in defaults ) { if ( defaults . hasOwnProperty ( prop ) && ! ( prop in cfg ) ) { cfg [ prop ] = defaults [ prop ] ; } } cfg . allSelectors = getAllSelectors ( cfg . widget ) ; return cfg ; }
Normalize the user defined configuration object. It will add default values from
@see defaults and generate the whole list of selectors to be tested.
@param {Object} cfg Configuration information
@return {Object} Normalized configuration object
Normalize the user defined configuration object . It will add default values from