'use strict'

toggleGem = Reflux.createAction()

module.exports =
  toggleGem: toggleGem

'use strict'

actions = Reflux.createActions [
  'toggleGem'
]

module.exports = actions

Refactor using Reflux sugar functions
Refactor using Reflux sugar functions

Reflux has quite a few sugar functions that prevent coderz from writing down
useless boilerplate.

- On the actions side, one can simply specify an array of action names
- On the store side, one can listen to an array of actions and handle them
with CoC methods

Beautiful.
