Refractoring Stage 6.15 Scoped the core app.js implementation locally; other renderer scripts continue to access it through window.epMailShell. Bumped the version to 0.4.27 (Android version code 427) and updated REFACTOR_PLAN.md.

This commit is contained in:
2026-10-16 22:32:57 +03:00
parent 9759c3579a
commit 0f2014213e
6 changed files with 12 additions and 4 deletions
+2
View File
@@ -1,3 +1,4 @@
(() => {
if('serviceWorker'in navigator)window.addEventListener('load',()=>navigator.serviceWorker.register('./service-worker.js').catch(()=>{}));
const state = window.epMailState;
const $=s=>document.querySelector(s), $$=s=>[...document.querySelectorAll(s)];
@@ -53,3 +54,4 @@ window.epMailShell = Object.freeze({
wrapOpenMessage(decorator) { openMessage = decorator(openMessage); },
wrapShowCompose(decorator) { showCompose = decorator(showCompose); }
});
})();