aboutsummaryrefslogtreecommitdiff
path: root/dev/translator-vm.js
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2021-07-06 19:43:53 -0400
committerGitHub <noreply@github.com>2021-07-06 19:43:53 -0400
commite88d63fc6d251bc298eb721fee1cbb9f5f4b752e (patch)
treef24b38bd421da53f84ab6b47ddff3c6492d44087 /dev/translator-vm.js
parente15513208584764526e2348ca7796ea665925086 (diff)
Template renderer media updates (#1802)
* Add TemplateRendererMediaProvider to abstract media-related functionality * Update representation of injected media * Update templates * Update upgrade file * Update tests * Update test data * Force media to be an object * Update test data
Diffstat (limited to 'dev/translator-vm.js')
-rw-r--r--dev/translator-vm.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/dev/translator-vm.js b/dev/translator-vm.js
index 7eab47b8..d628608a 100644
--- a/dev/translator-vm.js
+++ b/dev/translator-vm.js
@@ -120,7 +120,7 @@ class TranslatorVM extends DatabaseVM {
query: 'query',
fullQuery: 'fullQuery'
},
- injectedMedia: null
+ media: {}
};
return this._ankiNoteDataCreator.create(marker, data);
}