summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Yatskov <alex@foosoft.net>2016-08-05 22:14:54 -0700
committerAlex Yatskov <alex@foosoft.net>2016-08-05 22:14:54 -0700
commit08d92a4ddb3f9e008f572de2ce03ce6bf18599d6 (patch)
tree27458ba72e6867d66c02e12c7492610bbacf291e
parent02d679a461459499e038d5fedbeec2baebf31f31 (diff)
New Kanjidic data
-rw-r--r--ext/bg/js/dictionary.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/bg/js/dictionary.js b/ext/bg/js/dictionary.js
index c68e5e8a..b18e17ca 100644
--- a/ext/bg/js/dictionary.js
+++ b/ext/bg/js/dictionary.js
@@ -79,9 +79,9 @@ class Dictionary {
const results = [];
for (let name in this.kanjiDicts) {
- const def = this.kanjiDicts[name][kanji];
+ const def = this.kanjiDicts[name].c[kanji];
if (def) {
- const [k, o, g] = def;
+ const [k, o, ...g] = def;
results.push({
character: kanji,
kunyomi: k.split(' '),