1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | 1× | import * as types from './mutation_types' export default { start: ({ commit }) => { commit(types.START) }, pause: ({ commit }) => { commit(types.PAUSE) }, stop: ({ commit }) => { commit(types.STOP) }, toggleSound: ({ commit }) => { commit(types.TOGGLE_SOUND) } } |