summaryrefslogtreecommitdiff
path: root/ext/mixed/js/display.js
diff options
context:
space:
mode:
authorAlex Yatskov <alex@foosoft.net>2017-03-04 19:16:19 -0800
committerAlex Yatskov <alex@foosoft.net>2017-03-04 19:16:19 -0800
commitdb7e80dabfbaeec09c7cd30b4f36b3d68c6e52b6 (patch)
tree8072081db93083a212ac1da7addf617117f79e0d /ext/mixed/js/display.js
parent30999c13d32e7f111db16814dc2cbb0f30825861 (diff)
wip
Diffstat (limited to 'ext/mixed/js/display.js')
-rw-r--r--ext/mixed/js/display.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/mixed/js/display.js b/ext/mixed/js/display.js
index c2382d43..f4ce4f67 100644
--- a/ext/mixed/js/display.js
+++ b/ext/mixed/js/display.js
@@ -34,7 +34,7 @@ class Display {
throw 'override me';
}
- textRender(template, data) {
+ templateRender(template, data) {
throw 'override me';
}
@@ -64,7 +64,7 @@ class Display {
this.definitions = definitions;
this.spinner.hide();
- this.textRender('terms.html', params).then(content => {
+ this.templateRender('terms.html', params).then(content => {
this.container.html(content);
$('.action-add-note').click(this.onActionAddNote.bind(this));
$('.action-play-audio').click(this.onActionPlayAudio.bind(this));
@@ -90,7 +90,7 @@ class Display {
this.definitions = definitions;
this.spinner.hide();
- this.textRender('kanji.html', params).then(content => {
+ this.templateRender('kanji.html', params).then(content => {
this.container.html(content);
$('.action-add-note').click(this.onActionAddNote.bind(this));
return this.adderButtonsUpdate(['kanji'], sequence);