Replace var with let in examples (#484)

* Replace var with let in examples

store-collected-images/webextension-plain/deps/uuidv4.js

* Reverted third–party code
This commit is contained in:
rebloor
2022-08-11 04:27:28 +12:00
committed by GitHub
parent 1c0a24b2a6
commit 82217a05bc
42 changed files with 136 additions and 136 deletions

View File

@@ -21,7 +21,7 @@ function toggleCSS(tab) {
}
}
var gettingTitle = browser.pageAction.getTitle({tabId: tab.id});
let gettingTitle = browser.pageAction.getTitle({tabId: tab.id});
gettingTitle.then(gotTitle);
}
@@ -49,7 +49,7 @@ function initializePageAction(tab) {
/*
When first loaded, initialize the page action for all tabs.
*/
var gettingAllTabs = browser.tabs.query({});
let gettingAllTabs = browser.tabs.query({});
gettingAllTabs.then((tabs) => {
for (let tab of tabs) {
initializePageAction(tab);