From ed1da1faf02410e637f887f5fbcd172099d9bdc6 Mon Sep 17 00:00:00 2001 From: dogeystamp Date: Fri, 30 Dec 2022 16:54:38 -0500 Subject: [PATCH] interface.js: rename Element to InterfaceElement Element might cause conflicts --- scripts/interface.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/interface.js b/scripts/interface.js index 2bc03ce..d306d32 100644 --- a/scripts/interface.js +++ b/scripts/interface.js @@ -1,4 +1,4 @@ -class Element { +class InterfaceElement { constructor({id, tag}) { this.id = id; if (tag !== undefined) { @@ -23,7 +23,7 @@ class Element { } -class Form extends Element { +class Form extends InterfaceElement { constructor({id, tag}) { super(id, tag); @@ -79,7 +79,7 @@ function bufToB64 (buf) { return btoa(ascii); } -class FormElement extends Element { +class FormElement extends InterfaceElement { #enabled = true; get enabled() { return this.#enabled;