aboutsummaryrefslogtreecommitdiff
path: root/ext/js/data/sandbox/anki-note-data-creator.js
diff options
context:
space:
mode:
Diffstat (limited to 'ext/js/data/sandbox/anki-note-data-creator.js')
-rw-r--r--ext/js/data/sandbox/anki-note-data-creator.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/ext/js/data/sandbox/anki-note-data-creator.js b/ext/js/data/sandbox/anki-note-data-creator.js
index 3622e837..e09c6d7b 100644
--- a/ext/js/data/sandbox/anki-note-data-creator.js
+++ b/ext/js/data/sandbox/anki-note-data-creator.js
@@ -159,11 +159,13 @@ class AnkiNoteDataCreator {
if (dictionaryEntry.type === 'term') {
for (const {dictionary, pitches} of DictionaryDataUtil.getPitchAccentInfos(dictionaryEntry)) {
const pitches2 = [];
- for (const {terms, reading, position, tags, exclusiveTerms, exclusiveReadings} of pitches) {
+ for (const {terms, reading, position, nasalPositions, devoicePositions, tags, exclusiveTerms, exclusiveReadings} of pitches) {
pitches2.push({
expressions: terms,
reading,
position,
+ nasalPositions,
+ devoicePositions,
tags,
exclusiveExpressions: exclusiveTerms,
exclusiveReadings