2015-07-13 00:25:01 -07:00
|
|
|
import { Cat } from 'thundercats';
|
2015-07-25 15:15:59 -07:00
|
|
|
|
2015-07-24 17:52:07 -07:00
|
|
|
import { AppActions, AppStore } from './flux';
|
2015-07-25 15:15:59 -07:00
|
|
|
import { HikesActions, HikesStore } from './routes/Hikes/flux';
|
|
|
|
import { JobActions, JobsStore} from './routes/Jobs/flux';
|
2015-07-13 00:25:01 -07:00
|
|
|
|
|
|
|
export default Cat()
|
2015-10-13 23:05:31 -07:00
|
|
|
.init(({ instance: cat, args: [services, history] }) => {
|
|
|
|
cat.register(AppActions, null, services, history);
|
2015-07-24 17:52:07 -07:00
|
|
|
cat.register(AppStore, null, cat);
|
2015-07-25 15:15:59 -07:00
|
|
|
|
2015-07-24 17:52:07 -07:00
|
|
|
cat.register(HikesActions, null, services);
|
|
|
|
cat.register(HikesStore, null, cat);
|
2015-07-25 15:15:59 -07:00
|
|
|
|
2015-10-13 23:05:31 -07:00
|
|
|
cat.register(JobActions, null, cat, services);
|
2015-07-25 15:15:59 -07:00
|
|
|
cat.register(JobsStore, null, cat);
|
2015-07-13 00:25:01 -07:00
|
|
|
});
|