tarinai/js/world_bootstrap.js
2026-06-21 14:09:35 +09:00

11 lines
310 B
JavaScript

"use strict";
let world;
try {
world = new World();
if (typeof window !== "undefined") window.world = world;
if (typeof globalThis !== "undefined") globalThis.world = world;
} catch (error) {
if (typeof window !== "undefined") window.__worldInitError = error?.stack || String(error);
throw error;
}