From 353901ce6b4abab5327312485cb682b8c07131d8 Mon Sep 17 00:00:00 2001 From: buzzcode2007 <73412182+buzz_lightsnack_2007@users.noreply.github.com> Date: Tue, 2 Apr 2024 14:59:13 +0800 Subject: [PATCH] export it as the default class --- gui/scripts/windowman.JS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gui/scripts/windowman.JS b/gui/scripts/windowman.JS index 4a9c440..f311f4f 100644 --- a/gui/scripts/windowman.JS +++ b/gui/scripts/windowman.JS @@ -6,7 +6,7 @@ import texts from "./read.js"; // MAKE SURE TO TURN THIS OFF DURING BUILD. let DEBUG = false; -class windowman { +export default class windowman { static new(URL, height, width) { this.window = chrome.windows.create({ url: chrome.runtime.getURL(URL),