aboutsummaryrefslogtreecommitdiff
path: root/ext/bg/js/api.js
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2020-02-14 20:51:10 -0500
committertoasted-nutbread <toasted-nutbread@users.noreply.github.com>2020-02-14 20:51:10 -0500
commit4dd4926672b4db39721c10a3941246ab1225f988 (patch)
treeab6f7fec4cba4143e728711d2e738440e866a362 /ext/bg/js/api.js
parent61c6a753ce964700e3ef9f6db6bb1137204caf46 (diff)
Remove unused apiGetDisplayTemplatesHtml and apiGetQueryParserTemplatesHtml
Diffstat (limited to 'ext/bg/js/api.js')
-rw-r--r--ext/bg/js/api.js8
1 files changed, 0 insertions, 8 deletions
diff --git a/ext/bg/js/api.js b/ext/bg/js/api.js
index 4f1595c7..0c244ffa 100644
--- a/ext/bg/js/api.js
+++ b/ext/bg/js/api.js
@@ -25,18 +25,10 @@ function apiAudioGetUrl(definition, source, optionsContext) {
return _apiInvoke('audioGetUrl', {definition, source, optionsContext});
}
-function apiGetDisplayTemplatesHtml() {
- return _apiInvoke('getDisplayTemplatesHtml');
-}
-
function apiClipboardGet() {
return _apiInvoke('clipboardGet');
}
-function apiGetQueryParserTemplatesHtml() {
- return _apiInvoke('getQueryParserTemplatesHtml');
-}
-
function _apiInvoke(action, params={}) {
const data = {action, params};
return new Promise((resolve, reject) => {