src/util/dispatcher/dsp/group.js
function (module, config) {
            var ret = {
                url: (config.root||'')+module,
                version: (config.ver||_o)[module]
            };
            // convert xxx.html to xxx_ver.html
            if (!!config.mode&&!!ret.version){
                ret.url = ret.url.replace(
                    /(\.[^.\/]*?)$/,
                    '_'+ret.version+'$1'
                );
                ret.version = null;
            }
            return ret;
        }
function (module, config) {
            var ret = {
                url: (config.root||'')+module,
                version: (config.ver||_o)[module]
            };
            // convert xxx.html to xxx_ver.html
            if (!!config.mode&&!!ret.version){
                ret.url = ret.url.replace(
                    /(\.[^.\/]*?)$/,
                    '_'+ret.version+'$1'
                );
                ret.version = null;
            }
            return ret;
        }
function ( module , config ) { var ret = { url : ( config . root || '' ) + module , version : ( config . ver || _o ) [ module ] } ; // convert xxx.html to xxx_ver.html if ( ! ! config . mode && ! ! ret . version ) { ret . url = ret . url . replace ( / (\.[^.\/]*?)$ / , '_' + ret . version + '$1' ) ; ret . version = null ; } return ret ; }
parse module url config - ver,root,mode
parse module url config - ver root mode