summaryrefslogtreecommitdiff
path: root/ext/mixed/js
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2020-09-11 14:15:08 -0400
committerGitHub <noreply@github.com>2020-09-11 14:15:08 -0400
commitf168efb69c0387da0be4e9f2807fd9074992346f (patch)
tree102d68d73e5914848b3d795238f9478dd79bd7b9 /ext/mixed/js
parenta1729eb9aee9426cc9b543c865a53e843ae5f487 (diff)
OptionsUtil refactor / options default values (#807)
* Replace _readFile with _fetchAsset for consistency with Backend * Fix error messages * Make OptionsUtil non-static * Update how default options are assigned * Add createValidatingProxy * Add validate, update _onApiSetAllSettings * Remove unused api.optionsSchemaGet * Remove Backend._optionsSchema * Update OptionsUtil to create its own JsonSchemaValidator * Rename Backend._optionsSchemaValidator * Make getDefault non-async
Diffstat (limited to 'ext/mixed/js')
-rw-r--r--ext/mixed/js/api.js4
1 files changed, 0 insertions, 4 deletions
diff --git a/ext/mixed/js/api.js b/ext/mixed/js/api.js
index 1e7625da..fce8fbee 100644
--- a/ext/mixed/js/api.js
+++ b/ext/mixed/js/api.js
@@ -49,10 +49,6 @@ const api = (() => {
// Invoke functions
- optionsSchemaGet() {
- return this._invoke('optionsSchemaGet');
- }
-
optionsGet(optionsContext) {
return this._invoke('optionsGet', {optionsContext});
}