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,7 +1,7 @@
|
||||
/*
|
||||
On startup, connect to the "ping_pong" app.
|
||||
*/
|
||||
var port = browser.runtime.connectNative("ping_pong");
|
||||
let port = browser.runtime.connectNative("ping_pong");
|
||||
|
||||
/*
|
||||
Listen for messages from the app.
|
||||
|
||||
Reference in New Issue
Block a user