diff options
author | toasted-nutbread <toasted-nutbread@users.noreply.github.com> | 2020-03-14 17:10:53 -0400 |
---|---|---|
committer | toasted-nutbread <toasted-nutbread@users.noreply.github.com> | 2020-03-15 22:24:30 -0400 |
commit | a50b76fd219b873df7bb7e3b6a1b03850c59f239 (patch) | |
tree | 999463500b3da86ba2eeebcb0ae4896f50dfdbfd /ext/bg | |
parent | 248a18dd72c687a470246c26d5c74e440058bf55 (diff) |
Remove unnecessary sourceMapping population in convertAlphabeticToKana
Diffstat (limited to 'ext/bg')
-rw-r--r-- | ext/bg/js/japanese.js | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/ext/bg/js/japanese.js b/ext/bg/js/japanese.js index fa40fc98..d2a577e6 100644 --- a/ext/bg/js/japanese.js +++ b/ext/bg/js/japanese.js @@ -293,12 +293,6 @@ const jp = (() => { function convertAlphabeticToKana(text, sourceMapping) { let part = ''; let result = ''; - const ii = text.length; - - if (sourceMapping.length === ii) { - sourceMapping.length = ii; - sourceMapping.fill(1); - } for (const char of text) { // Note: 0x61 is the character code for 'a' |