diff options
author | toasted-nutbread <toasted-nutbread@users.noreply.github.com> | 2020-02-27 20:33:13 -0500 |
---|---|---|
committer | toasted-nutbread <toasted-nutbread@users.noreply.github.com> | 2020-02-27 20:33:13 -0500 |
commit | 8e29da0c6bd0b80dc6c9e37a525a37258518c293 (patch) | |
tree | 9acb9196420d2cafdfae63191bf85979727e3108 /ext/mixed/js/api.js | |
parent | fdfc2d33bbcd32f2984e74bd58a518fcc50705d2 (diff) |
Load default Anki field templates from a file
Diffstat (limited to 'ext/mixed/js/api.js')
-rw-r--r-- | ext/mixed/js/api.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ext/mixed/js/api.js b/ext/mixed/js/api.js index 7ea68d59..26f4389d 100644 --- a/ext/mixed/js/api.js +++ b/ext/mixed/js/api.js @@ -117,6 +117,10 @@ function apiGetMessageToken() { return _apiInvoke('getMessageToken'); } +function apiGetDefaultAnkiFieldTemplates() { + return _apiInvoke('getDefaultAnkiFieldTemplates'); +} + function _apiInvoke(action, params={}) { const data = {action, params}; return new Promise((resolve, reject) => { |