aboutsummaryrefslogtreecommitdiff
path: root/ext/bg/js
diff options
context:
space:
mode:
authorAlex Yatskov <alex@foosoft.net>2016-05-29 13:32:31 -0700
committerAlex Yatskov <alex@foosoft.net>2016-05-29 13:32:31 -0700
commit9ab95e6602e7bf327764f356efc388558856e6e3 (patch)
treeaadb2e02d6596acf8132aefaaad0df5ee2346375 /ext/bg/js
parentd479107eb57fb59915693f47772d6e48ddd8b30d (diff)
Delete unused functions
Diffstat (limited to 'ext/bg/js')
-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;