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

27 lines
765 B
JavaScript
Raw Normal View History

2016-06-23 22:29:55 +00:00
import { combineReducers } from 'redux';
import { reducer as form } from 'redux-form';
import files from './modules/IDE/reducers/files';
2016-06-23 22:29:55 +00: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 17:29:30 +00:00
import editorAccessibility from './modules/IDE/reducers/editorAccessibility';
2016-06-23 22:29:55 +00: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 19:58:23 +00:00
const rootReducer = combineReducers({
2016-06-23 22:29:55 +00:00
form,
ide,
files,
2016-06-23 22:29:55 +00:00
preferences,
user,
2016-07-01 15:30:40 +00:00
project,
sketches,
editorAccessibility,
toast,
console
2016-06-23 22:29:55 +00:00
});
2016-06-22 19:58:23 +00:00
2016-06-23 22:29:55 +00:00
export default rootReducer;