diff options
Diffstat (limited to 'ext/bg/js/translator.js')
-rw-r--r-- | ext/bg/js/translator.js | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/ext/bg/js/translator.js b/ext/bg/js/translator.js index 1c397780..be1102f9 100644 --- a/ext/bg/js/translator.js +++ b/ext/bg/js/translator.js @@ -221,16 +221,6 @@ class Translator { } } - static isHiragana(c) { - const code = c.charCodeAt(0); - return code >= 0x3040 && code < 0x30a0; - } - - static isKatakana(c) { - const code = c.charCodeAt(0); - return code >= 0x30a0 && code < 0x3100; - } - static isKanji(c) { const code = c.charCodeAt(0); return code >= 0x4e00 && code < 0x9fb0 || code >= 0x3400 && code < 0x4dc0; |