fix: im stupid

This commit is contained in:
Strix 2025-03-19 17:27:31 +01:00
parent 3dc1ffb2ff
commit 01130407fb

4
x0.js
View file

@ -9,7 +9,7 @@ if (window['x0']) {
throw new Error("window.x0 already declared.", window.x0);
}
class x0 {
class xNull {
#rootElement = document.querySelector("html");
#cfg = {
moduleSource: "./x0/modules/",
@ -93,4 +93,4 @@ class x0 {
}
}
window.x0 = new x0();
window.x0 = new xNull();