aboutsummaryrefslogtreecommitdiff
path: root/ext/bg/js/mecab.js
diff options
context:
space:
mode:
authorsiikamiika <siikamiika@users.noreply.github.com>2019-11-03 17:06:02 +0200
committersiikamiika <siikamiika@users.noreply.github.com>2019-11-23 17:45:44 +0200
commitb0c924d4bdaa0a606a6b559701047283ec0ff1db (patch)
treee98c454d464d4b5e635378ae16816936e1c2f0e4 /ext/bg/js/mecab.js
parentbc66f254ea719bb254cafabe5eb127ec7c340b1e (diff)
fix mecab variable
Diffstat (limited to 'ext/bg/js/mecab.js')
-rw-r--r--ext/bg/js/mecab.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/bg/js/mecab.js b/ext/bg/js/mecab.js
index dc46ded2..d28d80c0 100644
--- a/ext/bg/js/mecab.js
+++ b/ext/bg/js/mecab.js
@@ -52,7 +52,7 @@ class Mecab {
timer: setTimeout(() => {
delete this.listeners[sequence];
reject(`Mecab invoke timed out in ${Mecab.timeout} ms`);
- }, 1000)
+ }, Mecab.timeout)
}
this.port.postMessage({action, params, sequence});