Skip to content

Commit 483dec9

Browse files
authored
Chore/move gui to modules (#3001)
Move `GUI` to esm
1 parent 704970e commit 483dec9

34 files changed

+492
-479
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,3 +31,4 @@ nbproject/
3131
# Eclipse
3232
.project
3333
.settings/
34+
test-results-junit/

src/js/Clipboard.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
'use strict';
1+
import GUI from './gui.js';
22

33
/**
44
* Encapsulates the Clipboard logic, depending on web or nw
@@ -99,3 +99,5 @@ if (GUI.isNWJS()){
9999
} else {
100100
Clipboard._configureClipboardAsOther();
101101
}
102+
103+
export default Clipboard;

0 commit comments

Comments
 (0)