aboutsummaryrefslogtreecommitdiff
path: root/ext/bg/js/audio-uri-builder.js
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2020-03-27 22:53:45 -0400
committerGitHub <noreply@github.com>2020-03-27 22:53:45 -0400
commita0c4ce779d35cab39c62ca42ad3fe58a82faa1bb (patch)
treecd5cdae9d1a7aa48c11668a30758c72e4decedc7 /ext/bg/js/audio-uri-builder.js
parent08d38d8db2c97ff9f016a6de640f645b609088d1 (diff)
parent780d23b749325da0a95aa9cc7898df19f2ac1b31 (diff)
Merge pull request #413 from toasted-nutbread/japanese-utility
Convert Japanese utilities to a module-like style
Diffstat (limited to 'ext/bg/js/audio-uri-builder.js')
-rw-r--r--ext/bg/js/audio-uri-builder.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/bg/js/audio-uri-builder.js b/ext/bg/js/audio-uri-builder.js
index 499c3441..158006bb 100644
--- a/ext/bg/js/audio-uri-builder.js
+++ b/ext/bg/js/audio-uri-builder.js
@@ -17,7 +17,7 @@
*/
/* global
- * jpIsStringEntirelyKana
+ * jp
*/
class AudioUriBuilder {
@@ -66,7 +66,7 @@ class AudioUriBuilder {
let kana = definition.reading;
let kanji = definition.expression;
- if (!kana && jpIsStringEntirelyKana(kanji)) {
+ if (!kana && jp.isStringEntirelyKana(kanji)) {
kana = kanji;
kanji = null;
}