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:
@@ -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); }
|
||||
});
|
||||
})();
|
||||
|
||||
Reference in New Issue
Block a user