summaryrefslogtreecommitdiff
path: root/ext/js/comm/api.js
diff options
context:
space:
mode:
Diffstat (limited to 'ext/js/comm/api.js')
-rw-r--r--ext/js/comm/api.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/ext/js/comm/api.js b/ext/js/comm/api.js
index f978e491..75a01dd5 100644
--- a/ext/js/comm/api.js
+++ b/ext/js/comm/api.js
@@ -172,6 +172,10 @@ class API {
return this._invoke('getTermFrequencies', {termReadingList, dictionaries});
}
+ findAnkiNotes(query) {
+ return this._invoke('findAnkiNotes', {query});
+ }
+
// Utilities
_createActionPort(timeout=5000) {