From e9ab7543327fd7b5ddce291af736a03bf2c6328e Mon Sep 17 00:00:00 2001 From: mickie Date: Wed, 13 Jan 2021 22:11:11 -0600 Subject: [PATCH] Remove garbage code --- js/options.js | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/js/options.js b/js/options.js index 78b4742..60e3561 100644 --- a/js/options.js +++ b/js/options.js @@ -87,19 +87,3 @@ const restoreCheckbox = (checkKey, checkId) => { document.addEventListener('DOMContentLoaded', restoreOptions, saveCheckbox) document.querySelector("form").addEventListener("submit", saveOptions) - -// test zone -function onGot(item) { - console.log(item); -} - -function onError(error) { - console.log(`Error: ${error}`); -} - -let allItems = browser.storage.sync.get() -allItems.then(onGot, onError) - -const itemValueOpt = chrome.storage.sync.get('pleromaCheck', item => { - console.log(item.pleromaCheck) -})