view/shared/assets/js/wb/ads/2.2.7/ads.js
/**
     * param name will be false if it fails
     * to clean up.
     * @param {string} param the param name to clean up
     * @returns {string} the cleaned up param
     */
param name will be false if it fails
to clean up.
@param {string} param the param name to clean up
@returns {string} the cleaned up param
param name will be false if it fails to clean up . @param { string } param the param name to clean up @returns { string } the cleaned up param
function cleanParamName(param) {
        param = trim(param.toLowerCase());
        param = param.replace(/[^a-z0-9_]/g, '');
        var param_regex = /^[a-z_][a-z0-9_]{1,20}$/;
        if (!param_regex.test(param)) {
            debug("_cleanParamName :: invalid param name: " + param);
            return "";
        }
        return param;
    }
function cleanParamName ( param ) { param = trim ( param . toLowerCase ( ) ) ; param = param . replace ( / [^a-z0-9_] / g , '' ) ; var param_regex = / ^[a-z_][a-z0-9_]{1,20}$ / ; if ( ! param_regex . test ( param ) ) { debug ( "_cleanParamName :: invalid param name: " + param ) ; return "" ; } return param ; }
param name will be false if it fails
 to clean up.
param name will be false if it fails to clean up .