From aa1c6944d23a4b4eb3be1eb0541e13b3aaabcc1c Mon Sep 17 00:00:00 2001 From: Daniel <790119+DanTheMan827@users.noreply.github.com> Date: Sat, 21 Mar 2026 17:41:19 -0500 Subject: [PATCH] feat: expose certain classes under the monochrome object when in dev mode --- js/app.js | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/js/app.js b/js/app.js index 729b04f..33ed40b 100644 --- a/js/app.js +++ b/js/app.js @@ -383,6 +383,14 @@ async function uploadCoverImage(file) { document.addEventListener('DOMContentLoaded', async () => { await modernSettings.waitPending(); + if (import.meta.env.DEV) { + window.monochrome = { + MusicAPI, + LyricsManager, + Player, + }; + } + // Initialize analytics initAnalytics();