summaryrefslogtreecommitdiff
path: root/ext/mixed/js/api.js
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2020-03-15 17:02:34 -0400
committertoasted-nutbread <toasted-nutbread@users.noreply.github.com>2020-04-06 18:20:04 -0400
commit8b07a23de95ded3e6af93c78ab4f7f70cc449ea0 (patch)
treee7f6451fb6089ff0a9dd323dc2cd74a432041d95 /ext/mixed/js/api.js
parent3df78904cf734da208c6fd1b6ae1cd6612323148 (diff)
Rename context to details
Diffstat (limited to 'ext/mixed/js/api.js')
-rw-r--r--ext/mixed/js/api.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/mixed/js/api.js b/ext/mixed/js/api.js
index 0ab07039..df6a93f5 100644
--- a/ext/mixed/js/api.js
+++ b/ext/mixed/js/api.js
@@ -53,8 +53,8 @@ function apiKanjiFind(text, optionsContext) {
return _apiInvoke('kanjiFind', {text, optionsContext});
}
-function apiDefinitionAdd(definition, mode, context, optionsContext) {
- return _apiInvoke('definitionAdd', {definition, mode, context, optionsContext});
+function apiDefinitionAdd(definition, mode, details, optionsContext) {
+ return _apiInvoke('definitionAdd', {definition, mode, details, optionsContext});
}
function apiDefinitionsAddable(definitions, modes, optionsContext) {