mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 02:35:49 +00:00
chore: lint
This commit is contained in:
parent
d574a93d6d
commit
e8cf3c92f9
1 changed files with 4 additions and 1 deletions
|
|
@ -7,16 +7,18 @@ const COPY = 'copy';
|
|||
const CUT = 'cut';
|
||||
|
||||
function showMessage(msg) {
|
||||
DOM.Dialog.alert(msg);
|
||||
globalThis.DOM.Dialog.alert(msg);
|
||||
}
|
||||
|
||||
function getNames() {
|
||||
const {DOM} = globalThis;
|
||||
const files = DOM.getActiveFiles();
|
||||
|
||||
return DOM.getFilenames(files);
|
||||
}
|
||||
|
||||
function addCutClass() {
|
||||
const {DOM} = globalThis;
|
||||
const files = DOM.getActiveFiles();
|
||||
|
||||
for (const element of files) {
|
||||
|
|
@ -25,6 +27,7 @@ function addCutClass() {
|
|||
}
|
||||
|
||||
function rmCutClass() {
|
||||
const {DOM} = globalThis;
|
||||
const files = DOM.getByClassAll(CLASS);
|
||||
|
||||
for (const element of files) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue