summaryrefslogtreecommitdiff
path: root/ext/bg/js/backend-api-forwarder.js
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2019-11-26 22:01:54 -0500
committertoasted-nutbread <toasted-nutbread@users.noreply.github.com>2019-11-26 22:06:27 -0500
commit5a1046bc906a74ca39906a52acc62fc702a658f2 (patch)
tree7c484f245a19d01be9fbf4120cfa222c97363a24 /ext/bg/js/backend-api-forwarder.js
parent63a775ebcafc8d0477bc267ef39e40c4d3283666 (diff)
Update arrow-parens to always
Diffstat (limited to 'ext/bg/js/backend-api-forwarder.js')
-rw-r--r--ext/bg/js/backend-api-forwarder.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/bg/js/backend-api-forwarder.js b/ext/bg/js/backend-api-forwarder.js
index 979afd16..db4d30b9 100644
--- a/ext/bg/js/backend-api-forwarder.js
+++ b/ext/bg/js/backend-api-forwarder.js
@@ -37,8 +37,8 @@ class BackendApiForwarder {
const forwardPort = chrome.tabs.connect(tabId, {name: 'frontend-api-receiver'});
- port.onMessage.addListener(message => forwardPort.postMessage(message));
- forwardPort.onMessage.addListener(message => port.postMessage(message));
+ port.onMessage.addListener((message) => forwardPort.postMessage(message));
+ forwardPort.onMessage.addListener((message) => port.postMessage(message));
port.onDisconnect.addListener(() => forwardPort.disconnect());
forwardPort.onDisconnect.addListener(() => port.disconnect());
}