summaryrefslogtreecommitdiff
path: root/frontend/src/index.ts
diff options
context:
space:
mode:
authormarios <marios8543@gmail.com>2022-05-26 04:00:18 +0300
committermarios <marios8543@gmail.com>2022-05-26 04:00:18 +0300
commit4b923c1dc70eaa4a3ca58d9e9f3218785b2fe919 (patch)
tree3394a7e752b61bdfa16b1a7f50842c4e1dbc0972 /frontend/src/index.ts
parent74438a31458af8bddd08d90eacc6d63677bab844 (diff)
downloaddecky-loader-4b923c1dc70eaa4a3ca58d9e9f3218785b2fe919.tar.gz
decky-loader-4b923c1dc70eaa4a3ca58d9e9f3218785b2fe919.zip
display overhaul, compatibility with legacy plugins, fixes
Diffstat (limited to 'frontend/src/index.ts')
-rw-r--r--frontend/src/index.ts16
1 files changed, 0 insertions, 16 deletions
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);