StreamAI / scripts /app.js
privateuserh's picture
Update scripts/app.js
058247c verified
raw
history blame contribute delete
400 Bytes
// scripts/app.js -- FINAL VERSION
import { initUI } from './ui.js';
import { initChat } from './chat.js';
import { initVideo } from './video.js';
// This event listener ensures that all HTML is loaded before we try to run our code.
document.addEventListener('DOMContentLoaded', () => {
// Initialize all the separate parts of our application.
initUI();
initChat();
initVideo();
});