summaryrefslogtreecommitdiff
path: root/ext/js/comm/api.js
diff options
context:
space:
mode:
Diffstat (limited to 'ext/js/comm/api.js')
-rw-r--r--ext/js/comm/api.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/ext/js/comm/api.js b/ext/js/comm/api.js
index 472e464b..a2eb004c 100644
--- a/ext/js/comm/api.js
+++ b/ext/js/comm/api.js
@@ -168,6 +168,10 @@ class API {
return this._invoke('testMecab', {});
}
+ textHasJapaneseCharacters(text) {
+ return this._invoke('textHasJapaneseCharacters', {text});
+ }
+
// Utilities
_createActionPort(timeout=5000) {