changed window attachment of sync to be more clear
This commit is contained in:
parent
c300751958
commit
7ed5085f10
1 changed files with 4 additions and 1 deletions
|
@ -1,6 +1,6 @@
|
|||
const SYNC_DEBUG = false;
|
||||
|
||||
window.sync = {
|
||||
const sync = {
|
||||
storageArea: {
|
||||
area: browser.storage.sync,
|
||||
|
||||
|
@ -308,6 +308,9 @@ window.sync = {
|
|||
|
||||
};
|
||||
|
||||
// attaching to window for use in mocha tests
|
||||
window.sync = sync;
|
||||
|
||||
sync.init();
|
||||
|
||||
async function restore() {
|
||||
|
|
Loading…
Add table
Reference in a new issue