aboutsummaryrefslogtreecommitdiff
path: root/ext/bg/js/util.js
diff options
context:
space:
mode:
authorAlex Yatskov <alex@foosoft.net>2017-03-18 13:00:29 -0700
committerAlex Yatskov <alex@foosoft.net>2017-03-18 13:00:29 -0700
commit57697ee2a09dd5ad0a567b7104e4a5ac9a4f1b23 (patch)
tree9b67ed5633c598eea26e1a2afb686f79bd682fdf /ext/bg/js/util.js
parente782a4343251bb76c3b7d0bb4b788d7a6ac7756e (diff)
polish and initial command support
Diffstat (limited to 'ext/bg/js/util.js')
-rw-r--r--ext/bg/js/util.js9
1 files changed, 9 insertions, 0 deletions
diff --git a/ext/bg/js/util.js b/ext/bg/js/util.js
index 59eb9269..6999cae3 100644
--- a/ext/bg/js/util.js
+++ b/ext/bg/js/util.js
@@ -34,6 +34,15 @@ function promiseCallback(promise, callback) {
/*
+ * Commands
+ */
+
+function commandExec(command) {
+ instYomi().onCommand(command);
+}
+
+
+/*
* Instance
*/