From 0f5fb804d03041b58813516721d897c4315dca8b Mon Sep 17 00:00:00 2001 From: toasted-nutbread Date: Mon, 8 Feb 2021 19:40:49 -0500 Subject: Mecab test (#1361) * Update Mecab API * Add testMecab API function * Add a test button for the Mecab component --- ext/mixed/js/api.js | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'ext/mixed/js') 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) { -- cgit v1.2.3