diff options
author | Alex Yatskov <alex@foosoft.net> | 2016-05-21 22:59:29 -0700 |
---|---|---|
committer | Alex Yatskov <alex@foosoft.net> | 2016-05-21 22:59:29 -0700 |
commit | 997947caedc109ba3e21017b38de36e21c4a7255 (patch) | |
tree | d7fe382b65db6db0d93c9bb7bf88ba07223ce0c3 /ext/bg/js/yomichan.js | |
parent | f65e9f2570636b11aa17fc82bbeeb25df6f7b550 (diff) |
Cleanup
Diffstat (limited to 'ext/bg/js/yomichan.js')
-rw-r--r-- | ext/bg/js/yomichan.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ext/bg/js/yomichan.js b/ext/bg/js/yomichan.js index 0187f76f..1714e778 100644 --- a/ext/bg/js/yomichan.js +++ b/ext/bg/js/yomichan.js @@ -156,6 +156,10 @@ class Yomichan { this.ankiInvoke('modelNames', {}, null, callback); } + api_getModelFieldNames({callback}) { + this.ankiInvoke('modelFieldNames', {}, null, callback); + } + api_getOptions({callback}) { callback(this.options); } |