We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d574a93 commit e8cf3c9Copy full SHA for e8cf3c9
1 file changed
client/dom/buffer.mjs
@@ -7,16 +7,18 @@ const COPY = 'copy';
7
const CUT = 'cut';
8
9
function showMessage(msg) {
10
- DOM.Dialog.alert(msg);
+ globalThis.DOM.Dialog.alert(msg);
11
}
12
13
function getNames() {
14
+ const {DOM} = globalThis;
15
const files = DOM.getActiveFiles();
16
17
return DOM.getFilenames(files);
18
19
20
function addCutClass() {
21
22
23
24
for (const element of files) {
@@ -25,6 +27,7 @@ function addCutClass() {
25
27
26
28
29
function rmCutClass() {
30
31
const files = DOM.getByClassAll(CLASS);
32
33
0 commit comments