From 4b923c1dc70eaa4a3ca58d9e9f3218785b2fe919 Mon Sep 17 00:00:00 2001 From: marios Date: Thu, 26 May 2022 04:00:18 +0300 Subject: display overhaul, compatibility with legacy plugins, fixes --- frontend/src/index.ts | 16 ---------------- 1 file changed, 16 deletions(-) delete mode 100644 frontend/src/index.ts (limited to 'frontend/src/index.ts') diff --git a/frontend/src/index.ts b/frontend/src/index.ts deleted file mode 100644 index 390b83c9..00000000 --- a/frontend/src/index.ts +++ /dev/null @@ -1,16 +0,0 @@ -import PluginLoader from './plugin-loader'; - -declare global { - interface Window { - DeckyPluginLoader?: PluginLoader; - } -} - -if (window.DeckyPluginLoader) { - window.DeckyPluginLoader?.dismountAll(); -} - -window.DeckyPluginLoader = new PluginLoader(); -setTimeout(async () => { - window.DeckyPluginLoader?.loadAllPlugins(); -}, 5000); -- cgit v1.2.3