Backwards compat

This commit is contained in:
Alex Yatskov 2016-08-12 19:05:48 -07:00
parent de2029fb7a
commit 8524881d33

View File

@ -27,9 +27,9 @@ function sanitizeOptions(options) {
enableAnkiConnect: false, enableAnkiConnect: false,
ankiCardTags: ['yomichan'], ankiCardTags: ['yomichan'],
sentenceExtent: 200, sentenceExtent: 200,
ankiTermDeck: '', ankiTermDeck: options.ankiVocabDeck || '',
ankiTermModel: '', ankiTermModel: options.ankiVocabModel || '',
ankiTermFields: {}, ankiTermFields: options.ankiVocabFields || {},
ankiKanjiDeck: '', ankiKanjiDeck: '',
ankiKanjiModel: '', ankiKanjiModel: '',
ankiKanjiFields: {} ankiKanjiFields: {}