summaryrefslogtreecommitdiff
path: root/ext/bg/js
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2020-04-07 19:51:39 -0400
committertoasted-nutbread <toasted-nutbread@users.noreply.github.com>2020-04-07 19:51:39 -0400
commita2b66dc6cc3bd0d037c050eb49e270189a6617fb (patch)
tree201f8ff119c72863c4d273b0b16b7317982d05d9 /ext/bg/js
parent96566b8581549adba7cd24f37537fd7910eb8d37 (diff)
Rename apiForward to apiBroadcast
Diffstat (limited to 'ext/bg/js')
-rw-r--r--ext/bg/js/backend.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/bg/js/backend.js b/ext/bg/js/backend.js
index 31d29a20..c471c594 100644
--- a/ext/bg/js/backend.js
+++ b/ext/bg/js/backend.js
@@ -94,7 +94,7 @@ class Backend {
['commandExec', {handler: this._onApiCommandExec.bind(this), async: false}],
['audioGetUri', {handler: this._onApiAudioGetUri.bind(this), async: true}],
['screenshotGet', {handler: this._onApiScreenshotGet.bind(this), async: true}],
- ['forward', {handler: this._onApiForward.bind(this), async: false}],
+ ['broadcast', {handler: this._onApiBroadcast.bind(this), async: false}],
['frameInformationGet', {handler: this._onApiFrameInformationGet.bind(this), async: true}],
['injectStylesheet', {handler: this._onApiInjectStylesheet.bind(this), async: true}],
['getEnvironmentInfo', {handler: this._onApiGetEnvironmentInfo.bind(this), async: true}],
@@ -567,7 +567,7 @@ class Backend {
});
}
- _onApiForward({action, params}, sender) {
+ _onApiBroadcast({action, params}, sender) {
if (!(sender && sender.tab)) {
return false;
}