summaryrefslogtreecommitdiff
path: root/ext/bg/js/api.js
diff options
context:
space:
mode:
authorsiikamiika <siikamiika@users.noreply.github.com>2020-02-11 11:07:05 +0200
committerGitHub <noreply@github.com>2020-02-11 11:07:05 +0200
commit9ffd0cb441f9773651ed734d8bccce3667700ceb (patch)
tree1edfdff45596a70a0e117559fac391c83b96ca9a /ext/bg/js/api.js
parent17181eb97efcef6a4221397cfe6030b880792e32 (diff)
parent9c98c631afde843f8b5ed4c54fc1f4ff0ec3a00a (diff)
Merge pull request #350 from siikamiika/query-parser-html-templates
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) => {