summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2020-02-14 20:11:40 -0500
committertoasted-nutbread <toasted-nutbread@users.noreply.github.com>2020-02-14 20:11:40 -0500
commit61c6a753ce964700e3ef9f6db6bb1137204caf46 (patch)
tree7a157890532705f6dd537e3576b4451f01274ae0
parent6194f9f585e268f2bbe8a3e70ac4deb59bc6a5e6 (diff)
Add apiTemplateRender back to mixed api.js
-rw-r--r--ext/mixed/js/api.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/ext/mixed/js/api.js b/ext/mixed/js/api.js
index 8eea0628..715c8286 100644
--- a/ext/mixed/js/api.js
+++ b/ext/mixed/js/api.js
@@ -65,6 +65,10 @@ function apiNoteView(noteId) {
return _apiInvoke('noteView', {noteId});
}
+function apiTemplateRender(template, data) {
+ return _apiInvoke('templateRender', {data, template});
+}
+
function apiAudioGetUrl(definition, source, optionsContext) {
return _apiInvoke('audioGetUrl', {definition, source, optionsContext});
}