changed window attachment of sync to be more clear
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
const SYNC_DEBUG = false;
|
const SYNC_DEBUG = false;
|
||||||
|
|
||||||
window.sync = {
|
const sync = {
|
||||||
storageArea: {
|
storageArea: {
|
||||||
area: browser.storage.sync,
|
area: browser.storage.sync,
|
||||||
|
|
||||||
@@ -308,6 +308,9 @@ window.sync = {
|
|||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
// attaching to window for use in mocha tests
|
||||||
|
window.sync = sync;
|
||||||
|
|
||||||
sync.init();
|
sync.init();
|
||||||
|
|
||||||
async function restore() {
|
async function restore() {
|
||||||
|
|||||||
Reference in New Issue
Block a user