Fix init
This commit is contained in:
@@ -38,7 +38,7 @@ function configureGlobals() {
|
|||||||
win.svelteGet = get;
|
win.svelteGet = get;
|
||||||
}
|
}
|
||||||
|
|
||||||
export default async function init(isMobile: boolean = false) {
|
export default function init(isMobile: boolean = false) {
|
||||||
configureLitegraph(isMobile);
|
configureLitegraph(isMobile);
|
||||||
configureGlobals();
|
configureGlobals();
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ import ComfyApp from '$lib/components/ComfyApp';
|
|||||||
import init from '$lib/init';
|
import init from '$lib/init';
|
||||||
import App from './App.svelte';
|
import App from './App.svelte';
|
||||||
|
|
||||||
await init();
|
init();
|
||||||
|
|
||||||
const comfyApp = new ComfyApp();
|
const comfyApp = new ComfyApp();
|
||||||
(window as any).app = comfyApp;
|
(window as any).app = comfyApp;
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ import init from '$lib/init';
|
|||||||
|
|
||||||
Framework7.use(Framework7Svelte);
|
Framework7.use(Framework7Svelte);
|
||||||
|
|
||||||
await init(true);
|
init(true);
|
||||||
|
|
||||||
const comfyApp = new ComfyApp();
|
const comfyApp = new ComfyApp();
|
||||||
(window as any).app = comfyApp;
|
(window as any).app = comfyApp;
|
||||||
|
|||||||
Reference in New Issue
Block a user