You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I search bug. I cannot minifier javascript document.
Line const data = await chrome.storage.sync.get("options"); make error
specialy: "await chrome"
when i write "awaitchrome" document can minifier, but code not work :) sure.
Sorry for my english.
All code here :
`// In-page cache of the user's options
const options = {};
const optionsForm = document.getElementById("optionsForm");
// Initialize the form with the user's option settings
const data = await chrome.storage.sync.get("options");
Object.assign(options, data.options);
optionsForm.switch.checked = Boolean(options.debug);`
The text was updated successfully, but these errors were encountered:
Thanks for opening your first issue in Josee9988/project-template! Be sure to follow the issue template and provide every bit of information to help the developers!
Hi, I search bug. I cannot minifier javascript document.
Line
const data = await chrome.storage.sync.get("options");
make errorspecialy: "await chrome"
when i write "awaitchrome" document can minifier, but code not work :) sure.
Sorry for my english.
All code here :
`// In-page cache of the user's options
const options = {};
const optionsForm = document.getElementById("optionsForm");
// Immediately persist options changes
optionsForm.switch.addEventListener("change", (event) => {
options.debug = event.target.checked;
chrome.storage.sync.set({ options });
});
// Initialize the form with the user's option settings
const data = await chrome.storage.sync.get("options");
Object.assign(options, data.options);
optionsForm.switch.checked = Boolean(options.debug);`
The text was updated successfully, but these errors were encountered: