summaryrefslogtreecommitdiff
path: root/ext/js/data/anki-note-builder.js
diff options
context:
space:
mode:
Diffstat (limited to 'ext/js/data/anki-note-builder.js')
-rw-r--r--ext/js/data/anki-note-builder.js24
1 files changed, 12 insertions, 12 deletions
diff --git a/ext/js/data/anki-note-builder.js b/ext/js/data/anki-note-builder.js
index 4920db39..864bd2d4 100644
--- a/ext/js/data/anki-note-builder.js
+++ b/ext/js/data/anki-note-builder.js
@@ -51,15 +51,15 @@ export class AnkiNoteBuilder {
deckName,
modelName,
fields,
- tags=[],
- requirements=[],
- checkForDuplicates=true,
- duplicateScope='collection',
- duplicateScopeCheckAllModels=false,
- resultOutputMode='split',
- glossaryLayoutMode='default',
- compactTags=false,
- mediaOptions=null
+ tags = [],
+ requirements = [],
+ checkForDuplicates = true,
+ duplicateScope = 'collection',
+ duplicateScopeCheckAllModels = false,
+ resultOutputMode = 'split',
+ glossaryLayoutMode = 'default',
+ compactTags = false,
+ mediaOptions = null
}) {
let duplicateScopeDeckName = null;
let duplicateScopeCheckChildren = false;
@@ -130,9 +130,9 @@ export class AnkiNoteBuilder {
dictionaryEntry,
mode,
context,
- resultOutputMode='split',
- glossaryLayoutMode='default',
- compactTags=false,
+ resultOutputMode = 'split',
+ glossaryLayoutMode = 'default',
+ compactTags = false,
marker
}) {
const commonData = this._createData(dictionaryEntry, mode, context, resultOutputMode, glossaryLayoutMode, compactTags, void 0);