aboutsummaryrefslogtreecommitdiff
path: root/ext/fg/js/api.js
diff options
context:
space:
mode:
authorAlex Yatskov <alex@foosoft.net>2017-08-15 21:36:30 -0700
committerAlex Yatskov <alex@foosoft.net>2017-08-15 21:36:30 -0700
commite19933f9804abf4e64d96143bbb58f8059de5b38 (patch)
tree97a4f486203b06be4281fff20ad0dc81aa770dce /ext/fg/js/api.js
parente079e5f252ee39b222f3eb78e81d0a6bab6626d2 (diff)
jisho.org audio support
Diffstat (limited to 'ext/fg/js/api.js')
-rw-r--r--ext/fg/js/api.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/ext/fg/js/api.js b/ext/fg/js/api.js
index 174531ba..151882eb 100644
--- a/ext/fg/js/api.js
+++ b/ext/fg/js/api.js
@@ -52,3 +52,7 @@ function apiTemplateRender(template, data) {
function apiCommandExec(command) {
return utilInvoke('commandExec', {command});
}
+
+function apiAudioGetUrl(definition, source) {
+ return utilInvoke('audioGetUrl', {definition, source});
+}