aboutsummaryrefslogtreecommitdiff
path: root/ext/js/display/display-generator.js
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2022-03-14 21:42:33 -0400
committerGitHub <noreply@github.com>2022-03-14 21:42:33 -0400
commit4e15f923297599869e9d695940c9c56d81b0307d (patch)
tree4d509d89b638518fd123da229798dc163a082984 /ext/js/display/display-generator.js
parent59ae55252e69f844ab914c1eb516ac851f08ac89 (diff)
Rename MediaLoader to DisplayContentManager (#2087)
Diffstat (limited to 'ext/js/display/display-generator.js')
-rw-r--r--ext/js/display/display-generator.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/js/display/display-generator.js b/ext/js/display/display-generator.js
index a28a00a2..1f485a4f 100644
--- a/ext/js/display/display-generator.js
+++ b/ext/js/display/display-generator.js
@@ -23,12 +23,12 @@
*/
class DisplayGenerator {
- constructor({japaneseUtil, mediaLoader, hotkeyHelpController=null}) {
+ constructor({japaneseUtil, contentManager, hotkeyHelpController=null}) {
this._japaneseUtil = japaneseUtil;
- this._mediaLoader = mediaLoader;
+ this._contentManager = contentManager;
this._hotkeyHelpController = hotkeyHelpController;
this._templates = null;
- this._structuredContentGenerator = new StructuredContentGenerator(this._mediaLoader, document);
+ this._structuredContentGenerator = new StructuredContentGenerator(this._contentManager, document);
this._pronunciationGenerator = new PronunciationGenerator(japaneseUtil);
}