aboutsummaryrefslogtreecommitdiff
path: root/ext/js/yomichan.js
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2021-11-21 15:54:58 -0500
committerGitHub <noreply@github.com>2021-11-21 15:54:58 -0500
commit005f9658d98143ea1189482ae627405c8bf5a566 (patch)
tree712732685dd3300ad9403f17d2937486e3835661 /ext/js/yomichan.js
parent06e70c1cd8a6e23b54ba9081caf82902820ceccd (diff)
Action handler name disambiguation (#2018)
* Disambiguate PopupFactory action handlers * Update HotkeyHandler action names * Disambiguate Frontend action handlers * Disambiguate Display action handlers * Disambiguate PopupPreviewFrame action handlers * Disambiguate Yomichan action handlers * Disambiguate Frontend action handlers * Disambiguate Display action handlers * Disambiguate SearchDisplayController action handlers
Diffstat (limited to 'ext/js/yomichan.js')
-rw-r--r--ext/js/yomichan.js12
1 files changed, 6 insertions, 6 deletions
diff --git a/ext/js/yomichan.js b/ext/js/yomichan.js
index 33e84df1..b597f818 100644
--- a/ext/js/yomichan.js
+++ b/ext/js/yomichan.js
@@ -74,12 +74,12 @@ class Yomichan extends EventDispatcher {
this._isBackendReadyPromiseResolve = resolve;
this._messageHandlers = new Map([
- ['isReady', {async: false, handler: this._onMessageIsReady.bind(this)}],
- ['backendReady', {async: false, handler: this._onMessageBackendReady.bind(this)}],
- ['getUrl', {async: false, handler: this._onMessageGetUrl.bind(this)}],
- ['optionsUpdated', {async: false, handler: this._onMessageOptionsUpdated.bind(this)}],
- ['databaseUpdated', {async: false, handler: this._onMessageDatabaseUpdated.bind(this)}],
- ['zoomChanged', {async: false, handler: this._onMessageZoomChanged.bind(this)}]
+ ['Yomichan.isReady', {async: false, handler: this._onMessageIsReady.bind(this)}],
+ ['Yomichan.backendReady', {async: false, handler: this._onMessageBackendReady.bind(this)}],
+ ['Yomichan.getUrl', {async: false, handler: this._onMessageGetUrl.bind(this)}],
+ ['Yomichan.optionsUpdated', {async: false, handler: this._onMessageOptionsUpdated.bind(this)}],
+ ['Yomichan.databaseUpdated', {async: false, handler: this._onMessageDatabaseUpdated.bind(this)}],
+ ['Yomichan.zoomChanged', {async: false, handler: this._onMessageZoomChanged.bind(this)}]
]);
}