Refractoring Stage 6.22 Removed the transitional global aliases from renderer-state.js; renderer state is now exposed only through window.epMailState. Updated the state regression test and bumped to 0.4.34 (Android version code 434).
This commit is contained in:
@@ -23,15 +23,5 @@
|
||||
writable: false
|
||||
});
|
||||
|
||||
// Transitional aliases keep the existing classic-script features working while they migrate.
|
||||
for (const key of Object.keys(state)) {
|
||||
Object.defineProperty(root, key, {
|
||||
get() { return state[key]; },
|
||||
set(value) { state[key] = value; },
|
||||
enumerable: false,
|
||||
configurable: false
|
||||
});
|
||||
}
|
||||
|
||||
return state;
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user