aboutsummaryrefslogtreecommitdiff
path: root/ext/bg/js/api.js
diff options
context:
space:
mode:
authorsiikamiika <siikamiika@users.noreply.github.com>2020-02-06 04:00:02 +0200
committersiikamiika <siikamiika@users.noreply.github.com>2020-02-10 21:19:18 +0200
commit6c63a17d669b57fdbc1a5a71daf89c6c95e7d5ef (patch)
treef544e49095fafaa1d40ff752d151c59d91ca1be6 /ext/bg/js/api.js
parentcbfae2b9d7a5c8824edd7d2d7f80fdacd15cd333 (diff)
query parser html templates
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 f4be7a0c..cd6a9d18 100644
--- a/ext/bg/js/api.js
+++ b/ext/bg/js/api.js
@@ -33,6 +33,10 @@ function apiClipboardGet() {
return _apiInvoke('clipboardGet');
}
+function apiGetQueryParserTemplatesHtml() {
+ return _apiInvoke('getQueryParserTemplatesHtml');
+}
+
function _apiInvoke(action, params={}) {
const data = {action, params};
return new Promise((resolve, reject) => {