mirror of
https://github.com/willmiao/ComfyUI-Lora-Manager.git
synced 2026-03-21 21:22:11 -03:00
test(frontend): cover embeddings and recipes managers
This commit is contained in:
@@ -36,12 +36,18 @@ class EmbeddingsPageManager {
|
||||
}
|
||||
}
|
||||
|
||||
// Initialize everything when DOM is ready
|
||||
document.addEventListener('DOMContentLoaded', async () => {
|
||||
async function initializeEmbeddingsPage() {
|
||||
// Initialize core application
|
||||
await appCore.initialize();
|
||||
|
||||
|
||||
// Initialize embeddings page
|
||||
const embeddingsPage = new EmbeddingsPageManager();
|
||||
await embeddingsPage.initialize();
|
||||
});
|
||||
|
||||
return embeddingsPage;
|
||||
}
|
||||
|
||||
// Initialize everything when DOM is ready
|
||||
document.addEventListener('DOMContentLoaded', initializeEmbeddingsPage);
|
||||
|
||||
export { EmbeddingsPageManager, initializeEmbeddingsPage };
|
||||
|
||||
Reference in New Issue
Block a user