summaryrefslogtreecommitdiff
path: root/ext/fg/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/fg/js
parent30999c13d32e7f111db16814dc2cbb0f30825861 (diff)
wip
Diffstat (limited to 'ext/fg/js')
-rw-r--r--ext/fg/js/display-frame.js4
-rw-r--r--ext/fg/js/util.js4
2 files changed, 4 insertions, 4 deletions
diff --git a/ext/fg/js/display-frame.js b/ext/fg/js/display-frame.js
index 56b56861..aeb4ede5 100644
--- a/ext/fg/js/display-frame.js
+++ b/ext/fg/js/display-frame.js
@@ -31,8 +31,8 @@ window.displayFrame = new class extends Display {
return bgDefinitionsAddable(definitions, modes);
}
- textRender(template, data) {
- return bgTextRender(template, data);
+ templateRender(template, data) {
+ return bgTemplateRender(template, data);
}
kanjiFind(character) {
diff --git a/ext/fg/js/util.js b/ext/fg/js/util.js
index 4fb8f288..f0760462 100644
--- a/ext/fg/js/util.js
+++ b/ext/fg/js/util.js
@@ -50,8 +50,8 @@ function bgKanjiFind(text) {
return bgInvoke('kanjiFind', {text});
}
-function bgTextRender(template, data) {
- return bgInvoke('textRender', {data, template});
+function bgTemplateRender(template, data) {
+ return bgInvoke('templateRender', {data, template});
}
function bgDefinitionsAddable(definitions, modes) {