aboutsummaryrefslogtreecommitdiff
path: root/ext/fg/js/api.js
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2019-12-09 21:00:49 -0500
committertoasted-nutbread <toasted-nutbread@users.noreply.github.com>2019-12-13 23:11:56 -0500
commit7addf5a2ddd345bceb7aa0ee492ad51c25019e1a (patch)
tree9a475fd77f03185089b21e8889e7711b1575d3ce /ext/fg/js/api.js
parent4177b6372696d9b424857fedd1be988cc7eb0095 (diff)
Add API calls for optionsGetFull and optionsSave
Diffstat (limited to 'ext/fg/js/api.js')
-rw-r--r--ext/fg/js/api.js8
1 files changed, 8 insertions, 0 deletions
diff --git a/ext/fg/js/api.js b/ext/fg/js/api.js
index 0e100b59..ae74b8dc 100644
--- a/ext/fg/js/api.js
+++ b/ext/fg/js/api.js
@@ -21,10 +21,18 @@ function apiOptionsGet(optionsContext) {
return _apiInvoke('optionsGet', {optionsContext});
}
+function apiOptionsGetFull() {
+ return _apiInvoke('optionsGetFull');
+}
+
function apiOptionsSet(changedOptions, optionsContext, source) {
return _apiInvoke('optionsSet', {changedOptions, optionsContext, source});
}
+function apiOptionsSave(source) {
+ return _apiInvoke('optionsSave', {source});
+}
+
function apiTermsFind(text, details, optionsContext) {
return _apiInvoke('termsFind', {text, details, optionsContext});
}