Commit 8356a877 by niuxiaolin

add getmodules

parent 3257545d
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -3279,7 +3279,7 @@ window.BMAP_AUTHENTIC_KEY = "KhQqnL3owyAzqjr4zCGbWiiHwPFmKTD6";
}
},
get: function(f) {
return e && a(f) ? c.getItem(b + f + "_" + Tb[f]) : t
return e && a(f) ? window.localStorage.getItem(b + f + "_" + Tb[f]) : t
},
iJ: a
}
......@@ -3363,7 +3363,8 @@ window.BMAP_AUTHENTIC_KEY = "KhQqnL3owyAzqjr4zCGbWiiHwPFmKTD6";
}
f.OB = t;
f.Pd.layoutName.length = 0;
0 == a.length ? f.XJ() : pa(f.tF.$O + "&mod=" + a.join(","))
// 0 == a.length ? f.XJ() : pa(f.tF.$O + "&mod=" + a.join(","))
0 == a.length ? f.XJ() : pa("/assets/getmodules.js"+ "?mod=" + a.join(","))
// console.log(a);
// if(a.length>0){
// for(i=0;i<a.length;i++){
......@@ -3391,11 +3392,11 @@ window.BMAP_AUTHENTIC_KEY = "KhQqnL3owyAzqjr4zCGbWiiHwPFmKTD6";
this.Pd.layoutName.push(eventName)
console.log(eventName)
},
jZ: function(a, b) {
var c = this.lb(a);
evalMoudle: function(moudleName, source) {
var c = this.lb(moudleName);
try {
console.log(b);
eval(b)
// console.log(source);
eval(source)
} catch (e) {
return
}
......@@ -3427,7 +3428,7 @@ window.BMAP_AUTHENTIC_KEY = "KhQqnL3owyAzqjr4zCGbWiiHwPFmKTD6";
},
XJ: function() {
for (var a = this.Pd.qv, b = 0, c = a.length; b < c; b++)
this.jZ(a[b].VL, a[b].UD);
this.evalMoudle(a[b].VL, a[b].UD);
this.Pd.qv.length = 0
}
});
......@@ -8321,7 +8322,7 @@ window.BMAP_AUTHENTIC_KEY = "KhQqnL3owyAzqjr4zCGbWiiHwPFmKTD6";
this.GF = c && c.WJ ? c.PM ? c.PM : BMap.Uo : BMap.cdnUrl;
e = this.GF + e + "?" + b + "&ie=utf-8&oue=1&fromproduct=jsapi";
f || (e += "&res=api");
e = e + ("&callback=BMap._rd._cbk" + g) + ("&ak=" + qa);
e = e + ("&callback=BMap._rd._cbk" + g) + ("&ak=" + authKey);
pa(e)
},
YY: function(a) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment