aboutsummaryrefslogtreecommitdiff
path: root/ext/bg/settings2.html
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/settings2.html
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/settings2.html')
-rw-r--r--ext/bg/settings2.html7
1 files changed, 6 insertions, 1 deletions
diff --git a/ext/bg/settings2.html b/ext/bg/settings2.html
index 41293a6e..b772ece1 100644
--- a/ext/bg/settings2.html
+++ b/ext/bg/settings2.html
@@ -1166,7 +1166,11 @@
In order for Yomichan to use it, both MeCab and a native messaging component must be installed.
A setup guide can be found <a href="https://github.com/siikamiika/yomichan-mecab-installer/blob/master/README.md" target="_blank" rel="noopener noreferrer">here</a>.
</p>
- <p>
+ <div class="margin-above flex-row-nowrap">
+ <button id="test-mecab-button">Test</button>
+ <div id="test-mecab-results" class="flex-margin-left" hidden></div>
+ </div>
+ <p class="margin-above">
<a class="more-toggle" data-parent-distance="3">Less&hellip;</a>
</p>
</div>
@@ -3241,6 +3245,7 @@
<script src="/bg/js/settings2/extension-keyboard-shortcuts-controller.js"></script>
<script src="/bg/js/settings2/keyboard-shortcuts-controller.js"></script>
+<script src="/bg/js/settings2/mecab-controller.js"></script>
<script src="/bg/js/settings2/nested-popups-controller.js"></script>
<script src="/bg/js/settings2/popup-window-controller.js"></script>
<script src="/bg/js/settings2/secondary-search-dictionary-controller.js"></script>