mirror of
https://github.com/GoogleChrome/chrome-extensions-samples.git
synced 2026-03-27 13:29:34 +07:00
Fix eslint var usage error (#1077)
This commit is contained in:
@@ -38,7 +38,7 @@ function onDisconnected() {
|
||||
}
|
||||
|
||||
function connect() {
|
||||
var hostName = 'com.google.chrome.example.echo';
|
||||
const hostName = 'com.google.chrome.example.echo';
|
||||
appendMessage('Connecting to native messaging host <b>' + hostName + '</b>');
|
||||
port = chrome.runtime.connectNative(hostName);
|
||||
port.onMessage.addListener(onNativeMessage);
|
||||
|
||||
Reference in New Issue
Block a user