-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathapp.js
More file actions
26 lines (22 loc) · 761 Bytes
/
app.js
File metadata and controls
26 lines (22 loc) · 761 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
/* NoteMesh Application - Main Entry Point
A Personal Knowledge Management System
Built with Vanilla JavaScript and Object-Oriented Programming
*/
// Initialize the application
document.addEventListener('DOMContentLoaded', () => {
// Create instances of our managers
const noteManager = new NoteManager();
const themeManager = new ThemeManager();
// Initialize the UI Manager (this handles all the UI logic)
window.app = new UIManager(noteManager, themeManager);
// Make managers available globally for debugging/development
window.noteManager = noteManager;
window.themeManager = themeManager;
});
// Export for external access
window.NoteMesh = {
Note,
NoteManager,
ThemeManager,
UIManager
};