mirror of
https://github.com/yoimiya-kokomi/miao-plugin.git
synced 2024-12-01 11:12:03 +00:00
18 lines
289 B
JavaScript
18 lines
289 B
JavaScript
import Cfg from './Cfg.js'
|
|
import Render from './common/Render.js'
|
|
|
|
const Common = {
|
|
render: Render.render,
|
|
cfg: Cfg.get,
|
|
sleep (ms) {
|
|
return new Promise((resolve) => setTimeout(resolve, ms))
|
|
},
|
|
|
|
async downFile () {
|
|
console.log('down file')
|
|
}
|
|
|
|
}
|
|
|
|
export default Common
|