mirror of
https://github.com/yoimiya-kokomi/miao-plugin.git
synced 2024-11-29 10:36:25 +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
|