diff options
author | toasted-nutbread <toasted-nutbread@users.noreply.github.com> | 2020-02-14 20:11:40 -0500 |
---|---|---|
committer | toasted-nutbread <toasted-nutbread@users.noreply.github.com> | 2020-02-14 20:11:40 -0500 |
commit | 61c6a753ce964700e3ef9f6db6bb1137204caf46 (patch) | |
tree | 7a157890532705f6dd537e3576b4451f01274ae0 | |
parent | 6194f9f585e268f2bbe8a3e70ac4deb59bc6a5e6 (diff) |
Add apiTemplateRender back to mixed api.js
-rw-r--r-- | ext/mixed/js/api.js | 4 |
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}); } |