changed window attachment of sync to be more clear

This commit is contained in:
Kendall Werts 2020-02-10 12:38:17 -06:00
parent c300751958
commit 7ed5085f10

View file

@ -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() {