Delete unused functions

This commit is contained in:
Alex Yatskov 2016-05-29 13:32:31 -07:00
parent d479107eb5
commit 9ab95e6602

View File

@ -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) { static isKanji(c) {
const code = c.charCodeAt(0); const code = c.charCodeAt(0);
return code >= 0x4e00 && code < 0x9fb0 || code >= 0x3400 && code < 0x4dc0; return code >= 0x4e00 && code < 0x9fb0 || code >= 0x3400 && code < 0x4dc0;