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:
@@ -16,7 +16,7 @@ exportFunction(notify, window, {defineAs:'notify'});
|
||||
* Because the object contains functions, the cloneInto call must include
|
||||
* the `cloneFunctions` option.
|
||||
*/
|
||||
var messenger = {
|
||||
let messenger = {
|
||||
notify: function(message) {
|
||||
browser.runtime.sendMessage({content: "Object method call: " + message});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user