diff options
author | toasted-nutbread <toasted-nutbread@users.noreply.github.com> | 2021-02-08 19:40:49 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-08 19:40:49 -0500 |
commit | 0f5fb804d03041b58813516721d897c4315dca8b (patch) | |
tree | 40d637ea5e696b0da5f9d083d7069c64ad23717f /ext/mixed | |
parent | 0ed24347ee275250bcd2c044a1b664f9f0273653 (diff) |
Mecab test (#1361)
* Update Mecab API
* Add testMecab API function
* Add a test button for the Mecab component
Diffstat (limited to 'ext/mixed')
-rw-r--r-- | ext/mixed/js/api.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ext/mixed/js/api.js b/ext/mixed/js/api.js index fc765063..d37b091a 100644 --- a/ext/mixed/js/api.js +++ b/ext/mixed/js/api.js @@ -193,6 +193,10 @@ const api = (() => { return this._invoke('triggerDatabaseUpdated', {type, cause}); } + testMecab() { + return this._invoke('testMecab', {}); + } + // Utilities _createActionPort(timeout=5000) { |