Skip to content

Instantly share code, notes, and snippets.

@zinevych
Created October 14, 2015 19:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zinevych/677f2e296e69f29a885a to your computer and use it in GitHub Desktop.
Save zinevych/677f2e296e69f29a885a to your computer and use it in GitHub Desktop.
var Dispatcher = require('Dispatcher');
var DemoActions = {
calculateSmth: function (demoText) {
Dispatcher.dispatch({
actionType: 'calculateSmth',
text: demoText
});
}
};
module.exports = DemoActions;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment