summaryrefslogtreecommitdiff
path: root/ext/js/yomichan.js
diff options
context:
space:
mode:
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)}]
]);
}