From db7e80dabfbaeec09c7cd30b4f36b3d68c6e52b6 Mon Sep 17 00:00:00 2001 From: Alex Yatskov Date: Sat, 4 Mar 2017 19:16:19 -0800 Subject: wip --- ext/mixed/js/display.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'ext/mixed/js') 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); -- cgit v1.2.3