diff options
author | toasted-nutbread <toasted-nutbread@users.noreply.github.com> | 2021-07-06 19:43:53 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-06 19:43:53 -0400 |
commit | e88d63fc6d251bc298eb721fee1cbb9f5f4b752e (patch) | |
tree | f24b38bd421da53f84ab6b47ddff3c6492d44087 /dev | |
parent | e15513208584764526e2348ca7796ea665925086 (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')
-rw-r--r-- | dev/translator-vm.js | 2 |
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); } |