From 82e6d2ffe3524efb51061a502521e6c2c8a229d1 Mon Sep 17 00:00:00 2001 From: Ad5001 Date: Fri, 11 Oct 2024 02:35:13 +0200 Subject: [PATCH] Removing HistoryInterface (no longer needed) --- common/src/module/history.mjs | 2 +- common/src/module/interface.mjs | 9 --------- 2 files changed, 1 insertion(+), 10 deletions(-) diff --git a/common/src/module/history.mjs b/common/src/module/history.mjs index 6e32fed..be70f87 100644 --- a/common/src/module/history.mjs +++ b/common/src/module/history.mjs @@ -17,7 +17,7 @@ */ import { Module } from "./common.mjs" -import { HelperInterface, HistoryInterface, NUMBER, STRING } from "./interface.mjs" +import { HelperInterface, NUMBER, STRING } from "./interface.mjs" import { BaseEvent } from "../events.mjs" import { Action, Actions } from "../history/index.mjs" diff --git a/common/src/module/interface.mjs b/common/src/module/interface.mjs index db65ea2..2886f73 100644 --- a/common/src/module/interface.mjs +++ b/common/src/module/interface.mjs @@ -85,15 +85,6 @@ export class DialogInterface extends Interface { show = FUNCTION } -export class HistoryInterface extends Interface { - undo = FUNCTION - redo = FUNCTION - clear = FUNCTION - addToHistory = FUNCTION - unserialize = FUNCTION - serialize = FUNCTION -} - export class LatexInterface extends Interface { /** * @param {string} markup - LaTeX markup to render