summaryrefslogtreecommitdiff
path: root/ext/bg/js/settings2/settings-main.js
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2021-02-08 19:40:49 -0500
committerGitHub <noreply@github.com>2021-02-08 19:40:49 -0500
commit0f5fb804d03041b58813516721d897c4315dca8b (patch)
tree40d637ea5e696b0da5f9d083d7069c64ad23717f /ext/bg/js/settings2/settings-main.js
parent0ed24347ee275250bcd2c044a1b664f9f0273653 (diff)
Mecab test (#1361)
* Update Mecab API * Add testMecab API function * Add a test button for the Mecab component
Diffstat (limited to 'ext/bg/js/settings2/settings-main.js')
-rw-r--r--ext/bg/js/settings2/settings-main.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/ext/bg/js/settings2/settings-main.js b/ext/bg/js/settings2/settings-main.js
index f4a38d85..24248110 100644
--- a/ext/bg/js/settings2/settings-main.js
+++ b/ext/bg/js/settings2/settings-main.js
@@ -26,6 +26,7 @@
* ExtensionKeyboardShortcutController
* GenericSettingController
* KeyboardShortcutController
+ * MecabController
* ModalController
* NestedPopupsController
* PermissionsToggleController
@@ -140,6 +141,9 @@ async function setupGenericSettingsController(genericSettingController) {
const popupWindowController = new PopupWindowController();
popupWindowController.prepare();
+ const mecabController = new MecabController();
+ mecabController.prepare();
+
await Promise.all(preparePromises);
document.documentElement.dataset.loaded = 'true';