mirror of
https://github.com/yoimiya-kokomi/miao-plugin.git
synced 2024-11-16 12:51:30 +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
|