Created
October 14, 2015 19:27
-
-
Save zinevych/677f2e296e69f29a885a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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