move jobs flux, use createClass for react

This commit is contained in:
Berkeley Martinez
2015-07-25 13:58:26 -07:00
parent 6306580d84
commit 0d628f57bb
6 changed files with 47 additions and 56 deletions

View File

@@ -0,0 +1,8 @@
import { Store } from 'thundercats';
export default Store()
.refs({ displayName: 'JobsStore' })
.init(({ instane: jobsStore, args: [cat] }) => {
let jobsActions = cat.getActions('JobsActions');
jobsStore.register(jobsActions);
});