Files
freeCodeCamp/common/app/routes/Jobs/flux/Store.js

9 lines
254 B
JavaScript
Raw Normal View History

import { Store } from 'thundercats';
export default Store()
.refs({ displayName: 'JobsStore' })
2015-07-25 15:15:59 -07:00
.init(({ instance: jobsStore, args: [cat] }) => {
let jobsActions = cat.getActions('JobsActions');
2015-07-25 15:15:59 -07:00
jobsStore.register(jobsActions.getJob);
});