mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-18 00:47:01 +00:00
feature: client: listeners: simplify
This commit is contained in:
parent
3c0c7c3044
commit
091f901789
1 changed files with 8 additions and 9 deletions
|
|
@ -19,15 +19,13 @@ const NBSP_REG = RegExp(String.fromCharCode(160), 'g');
|
|||
const SPACE = ' ';
|
||||
|
||||
module.exports.init = async () => {
|
||||
await Promise.all([
|
||||
contextMenu(),
|
||||
dragndrop(),
|
||||
unload(),
|
||||
pop(),
|
||||
resize(),
|
||||
header(),
|
||||
config(),
|
||||
]);
|
||||
contextMenu();
|
||||
dragndrop();
|
||||
unload();
|
||||
pop();
|
||||
resize();
|
||||
header();
|
||||
await config();
|
||||
};
|
||||
|
||||
const unselect = (event) => {
|
||||
|
|
@ -502,3 +500,4 @@ function resize() {
|
|||
DOM.changePanel();
|
||||
});
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue