diff options
author | (quasar) nebula <qznebula@protonmail.com> | 2023-05-13 13:31:58 -0300 |
---|---|---|
committer | (quasar) nebula <qznebula@protonmail.com> | 2023-05-13 13:34:21 -0300 |
commit | 43f1a1dd1b44065663a797603012394c52a9baea (patch) | |
tree | 3df4c15a1249d68541a208827e20e436ca30295a /undo-manager.js | |
parent | e8a55f10dd9749ad240b165e318db0a1d2f00a9a (diff) |
use ESM module syntax & update tui-lib
Exciting update! This doesn't make any substantial changes exactly but does update the most quickly-archaic parts of older Node code.
Diffstat (limited to 'undo-manager.js')
-rw-r--r-- | undo-manager.js | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/undo-manager.js b/undo-manager.js index 4a042ad..9b53c2d 100644 --- a/undo-manager.js +++ b/undo-manager.js @@ -1,4 +1,4 @@ -class UndoManager { +export default class UndoManager { constructor() { this.actionStack = [] this.undoneStack = [] @@ -38,5 +38,3 @@ class UndoManager { return this.undoStack.length === 0 } } - -module.exports = UndoManager |