Spaces:
Running
Running
| // scripts/app.js --- TEST 1 | |
| // We are only importing ui.js to see if it loads correctly. | |
| import { initUI } from './ui.js'; | |
| // import { initChat } from './chat.js'; | |
| // import { initVideo } from './video.js'; | |
| document.addEventListener('DOMContentLoaded', () => { | |
| // We are only running the UI initialization for this test. | |
| try { | |
| initUI(); | |
| window.logToScreen("SUCCESS: ui.js was imported and initialized."); | |
| } catch(e) { | |
| window.logToScreen(`ERROR initializing ui.js: ${e.message}`); | |
| } | |
| }); | |
| // NOTE: The on-screen logger is now in your index.html, so we don't need it here for this test. |