summaryrefslogtreecommitdiff
path: root/client/actions/index.js
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2017-07-07 18:43:24 +0200
committerJules Laplace <julescarbon@gmail.com>2017-07-07 18:43:24 +0200
commitb89147ecd38b0f95a2e4917aba7f44bf3bb70327 (patch)
tree554d0d726755c89e55dbe79f0339cceb13543dd5 /client/actions/index.js
parentd520c67839724e80d8b68b8fe933f1e7755a8f42 (diff)
refactor audioplayer
Diffstat (limited to 'client/actions/index.js')
-rw-r--r--client/actions/index.js9
1 files changed, 9 insertions, 0 deletions
diff --git a/client/actions/index.js b/client/actions/index.js
index ddbf9ee..0a163ae 100644
--- a/client/actions/index.js
+++ b/client/actions/index.js
@@ -1,3 +1,12 @@
+export const audioPlayFile = (file) => ({
+ type: 'AUDIO_PLAY_FILE',
+ file: file
+})
+
+export const audioPause = () => ({
+ type: 'AUDIO_PAUSE',
+})
+
export const setContent = (content) => ({
type: 'SET_CONTENT',
file: content