Register docs view initializer

This commit is contained in:
thePR0M3TH3AN committed 2026-01-27 08:36:12 -05:00
1 parent e98001f8f0
commit 2a5fbb3904
3 files changed
+4 -4

No files matched your search

-2
View File
@@ -308,6 +308,4 @@ async function initDocsView() {
}
}
initDocsView();
export { initDocsView };
+4
View File
@@ -9,6 +9,7 @@ import { ASSET_VERSION } from "../config/asset-version.js";
import { applyDesignSystemAttributes } from "./designSystem.js";
import { devLogger, userLogger } from "./utils/logger.js";
import { attachFeedInfoPopover } from "./ui/components/FeedInfoPopover.js";
import { initDocsView } from "./docsView.js";
const TRACKING_SCRIPT_PATTERN = /(?:^|\/)tracking\.js(?:$|\?)/;
@@ -147,6 +148,9 @@ export const viewInitRegistry = {
refreshApp.forceRefreshAllProfiles();
}
},
docs: async () => {
await initDocsView();
},
history: async () => {
try {
const module = await import("./historyView.js");
-2
View File
@@ -27,5 +27,3 @@
</div>
</article>
</section>
<script type="module" src="/js/docsView.js"></script>