mirror of
https://github.com/PR0M3TH3AN/bitvid.git
synced 2026-11-02 02:42:28 +00:00
Merge pull request #1805 from PR0M3TH3AN/codex/add-docs-view-initializer-to-registry
Register docs view in view manager
This commit is contained in:
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