2026-05-23 01:50:31 +02:00
|
|
|
import { ModalManager } from "./ModalManager.js";
|
|
|
|
|
import { FormManager } from "./FormManager.js";
|
|
|
|
|
import { VoteManager } from "./VoteManager.js";
|
|
|
|
|
import { MessageSearch } from "./MessageSearch.js";
|
|
|
|
|
import { ProfileEditor } from "./ProfileEditor.js";
|
|
|
|
|
import { MobileNav } from "./MobileNav.js";
|
|
|
|
|
import { CommentManager } from "./CommentManager.js";
|
|
|
|
|
import { ContentEnhancer } from "./ContentEnhancer.js";
|
|
|
|
|
import { DomUtils } from "./DomUtils.js";
|
2026-05-23 10:03:27 +02:00
|
|
|
import { PushManager } from "./PushManager.js";
|
|
|
|
|
import { PwaInstaller } from "./PwaInstaller.js";
|
2026-05-23 01:50:31 +02:00
|
|
|
|
2026-05-10 09:08:12 +02:00
|
|
|
class Application {
|
|
|
|
|
constructor() {
|
2026-05-23 01:50:31 +02:00
|
|
|
this.modals = new ModalManager();
|
|
|
|
|
this.forms = new FormManager();
|
|
|
|
|
this.votes = new VoteManager();
|
|
|
|
|
this.messageSearch = new MessageSearch();
|
|
|
|
|
this.profile = new ProfileEditor();
|
|
|
|
|
this.mobileNav = new MobileNav();
|
|
|
|
|
this.comments = new CommentManager();
|
|
|
|
|
this.content = new ContentEnhancer();
|
|
|
|
|
this.dom = new DomUtils();
|
2026-05-23 10:03:27 +02:00
|
|
|
this.push = new PushManager();
|
|
|
|
|
this.pwa = new PwaInstaller();
|
2026-05-10 09:08:12 +02:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
const app = new Application();
|
2026-05-12 15:07:34 +02:00
|
|
|
window.app = app;
|