mirror of
https://github.com/PR0M3TH3AN/bitvid.git
synced 2026-10-27 07:52:24 +00:00
Register docs view initializer
This commit is contained in:
1 parent
e98001f8f0
commit
2a5fbb3904
3 files changed
+4
-4
No files matched your search
@@ -308,6 +308,4 @@ async function initDocsView() {
|
||||
}
|
||||
}
|
||||
|
||||
initDocsView();
|
||||
|
||||
export { initDocsView };
|
||||
@@ -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");
|
||||
|
||||
@@ -27,5 +27,3 @@
|
||||
</div>
|
||||
</article>
|
||||
</section>
|
||||
|
||||
<script type="module" src="/js/docsView.js"></script>
|
||||
Reference in new issue
Block a user