summaryrefslogtreecommitdiff
path: root/ext/fg
diff options
context:
space:
mode:
Diffstat (limited to 'ext/fg')
-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) {