Files
Oxicloud/static/js/app/bootstrap.js
T
Edouard Vanbelle 6f4abfcec4 refactor(js): avoid use of window.XXX and move to import/export
- change worker: do not cache html pages (not necessary)
- remove use of window.XXX and maximize import/export,
  this will provide more clarety,
  show circular dependencies + you will benefit IDE help
2026-04-14 19:05:01 +02:00

12 lines
267 B
JavaScript

/**
* OxiCloud - App bootstrap
* Isolated startup trigger for the main application initializer.
*/
import { initApp } from './main.js';
if (document.readyState === 'loading') {
document.addEventListener('DOMContentLoaded', initApp);
} else {
initApp();
}