changed window attachment of sync to be more clear
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user