|
@ -0,0 +1,21 @@
|
|
|
(function() {
|
|
|
var version = "1.0"
|
|
|
headjs([
|
|
|
"../../../js/vue.js",
|
|
|
"../../../js/jquery/2.1.3/jquery.js",
|
|
|
"../../../js/bootstrap.min.js",
|
|
|
"../../../js/underscore.js",
|
|
|
"../../../api/common_http.js",
|
|
|
"../../../api/common-api.js",
|
|
|
"../../../js/es6-promise.js",
|
|
|
"../../../js/app.js",
|
|
|
])
|
|
|
|
|
|
function headjs(srcipts) {
|
|
|
var arr = [];
|
|
|
for(var i=0,len=srcipts.length; i<len; i++) {
|
|
|
arr.push('<script src="'+srcipts[i]+'?v='+version+'"></script>')
|
|
|
}
|
|
|
document.write(arr.join(''))
|
|
|
}
|
|
|
})()
|