| // Global utility functions | |
| function handleAPIError(error) { | |
| console.error('API Error:', error); | |
| // Can be expanded for global error handling | |
| } | |
| // Initialize tooltips | |
| document.addEventListener('DOMContentLoaded', () => { | |
| // Any global initialization code can go here | |
| }); |