Skip to content

Latest commit

 

History

History
21 lines (19 loc) · 533 Bytes

README.md

File metadata and controls

21 lines (19 loc) · 533 Bytes

autojsCommonFunctions

导入模块

 //导入模块
 function 导入常用函数模块(){
  var url='https://raw.githubusercontent.com/snailuncle/autojsCommonFunctions/master/autojsCommonFunctions.js'
  var r = http.get(url)
  log("code = " + r.statusCode);
  var html=r.body.bytes()
  files.writeBytes('./autojsCommonFunctions.js',html)
  var common=require('./autojsCommonFunctions.js')
  return common
}
var common=导入常用函数模块()
log(common)
for(let i=0;i<33;i++){
  common.闪光弹('fire in the hole')
}