// static/js/config.js – Konfiguration & globale Daten let config = {}; let globalSounds = []; function initConfig() { // Diese Werte werden in control.html per Jinja gesetzt config = window.mkConfig || {}; globalSounds = window.mkGlobalSounds || []; console.log("config.js → Config geladen:", config); console.log("config.js → Globale Sounds:", globalSounds); } // Export (für andere Module) window.initConfig = initConfig;