p5.js-web-editor/client/reducers.js

27 lines
765 B
JavaScript
Raw Normal View History

2016-06-24 00:29:55 +02:00
import { combineReducers } from 'redux';
import { reducer as form } from 'redux-form';
import files from './modules/IDE/reducers/files';
2016-06-24 00:29:55 +02:00
import ide from './modules/IDE/reducers/ide';
import preferences from './modules/IDE/reducers/preferences';
import project from './modules/IDE/reducers/project';
2016-08-11 19:29:30 +02:00
import editorAccessibility from './modules/IDE/reducers/editorAccessibility';
2016-06-24 00:29:55 +02:00
import user from './modules/User/reducers';
import sketches from './modules/IDE/reducers/projects';
import toast from './modules/IDE/reducers/toast';
import console from './modules/IDE/reducers/console';
2016-06-22 21:58:23 +02:00
const rootReducer = combineReducers({
2016-06-24 00:29:55 +02:00
form,
ide,
files,
2016-06-24 00:29:55 +02:00
preferences,
user,
2016-07-01 17:30:40 +02:00
project,
sketches,
editorAccessibility,
toast,
console
2016-06-24 00:29:55 +02:00
});
2016-06-22 21:58:23 +02:00
2016-06-24 00:29:55 +02:00
export default rootReducer;