mirror of
https://github.com/mdn/webextensions-examples.git
synced 2026-04-17 23:08:33 +02:00
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:
@@ -1,5 +1,5 @@
|
||||
// Load existent stats with the storage API.
|
||||
var gettingStoredStats = browser.storage.local.get();
|
||||
let gettingStoredStats = browser.storage.local.get();
|
||||
|
||||
gettingStoredStats.then(results => {
|
||||
// Initialize the saved stats if not yet initialized.
|
||||
|
||||
Reference in New Issue
Block a user