From b0c924d4bdaa0a606a6b559701047283ec0ff1db Mon Sep 17 00:00:00 2001 From: siikamiika Date: Sun, 3 Nov 2019 17:06:02 +0200 Subject: fix mecab variable --- ext/bg/js/mecab.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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}); -- cgit v1.2.3