Files
freeCodeCamp/common/app/routes/Jobs/flux/Store.js
Berkeley Martinez a45863ce87 jobs page rendering
2015-07-25 15:15:59 -07:00

9 lines
254 B
JavaScript

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