From 43f1a1dd1b44065663a797603012394c52a9baea Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Sat, 13 May 2023 13:31:58 -0300 Subject: 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. --- undo-manager.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'undo-manager.js') 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 -- cgit 1.3.0-6-gf8a5