From 61c6a753ce964700e3ef9f6db6bb1137204caf46 Mon Sep 17 00:00:00 2001 From: toasted-nutbread Date: Fri, 14 Feb 2020 20:11:40 -0500 Subject: Add apiTemplateRender back to mixed api.js --- ext/mixed/js/api.js | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'ext/mixed') 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}); } -- cgit v1.2.3