mirror of
https://github.com/litruv/Docs-Viewer.git
synced 2026-07-24 02:36:07 +10:00
Expose Documentation instance to global scope for console access
This commit is contained in:
@@ -373,3 +373,6 @@ class Documentation {
|
|||||||
|
|
||||||
window.originalDocTitle = document.title;
|
window.originalDocTitle = document.title;
|
||||||
const docs = new Documentation();
|
const docs = new Documentation();
|
||||||
|
|
||||||
|
// Expose to global scope for console access
|
||||||
|
window.docs = docs;
|
||||||
|
|||||||
Reference in New Issue
Block a user