export it as the default class

This commit is contained in:
buzzcode2007 2024-04-02 14:59:13 +08:00
parent fdf69cd9f4
commit 353901ce6b

View file

@ -6,7 +6,7 @@ import texts from "./read.js";
// MAKE SURE TO TURN THIS OFF DURING BUILD. // MAKE SURE TO TURN THIS OFF DURING BUILD.
let DEBUG = false; let DEBUG = false;
class windowman { export default class windowman {
static new(URL, height, width) { static new(URL, height, width) {
this.window = chrome.windows.create({ this.window = chrome.windows.create({
url: chrome.runtime.getURL(URL), url: chrome.runtime.getURL(URL),