aboutsummaryrefslogtreecommitdiff
path: root/ext/bg/js/api.js
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2019-12-27 18:58:11 -0500
committertoasted-nutbread <toasted-nutbread@users.noreply.github.com>2020-01-16 22:39:26 -0500
commit7686e56c00c724ad6f9e133134787e2cd083b062 (patch)
treecc8b5568543f2c5206e69677b6cf3fac2d16a9e4 /ext/bg/js/api.js
parentd512c111f6a5918eb3dfca3c0e3d5d69e73fb8b7 (diff)
Move display templates into a single file
Diffstat (limited to 'ext/bg/js/api.js')
-rw-r--r--ext/bg/js/api.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/ext/bg/js/api.js b/ext/bg/js/api.js
index 906aaa30..285b8016 100644
--- a/ext/bg/js/api.js
+++ b/ext/bg/js/api.js
@@ -25,6 +25,10 @@ function apiAudioGetUrl(definition, source, optionsContext) {
return _apiInvoke('audioGetUrl', {definition, source, optionsContext});
}
+function apiGetDisplayTemplatesHtml() {
+ return _apiInvoke('getDisplayTemplatesHtml');
+}
+
function _apiInvoke(action, params={}) {
const data = {action, params};
return new Promise((resolve, reject) => {