summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
Diffstat (limited to 'ext')
-rw-r--r--ext/bg/js/translator.js10
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;