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

23 lines
635 B
JavaScript
Raw Normal View History

2016-06-23 22:29:55 +00:00
import { combineReducers } from 'redux';
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';
2016-07-01 15:30:40 +00:00
import sketches from './modules/Sketch/reducers';
2016-06-23 22:29:55 +00:00
import { reducer as form } from 'redux-form';
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,
2016-08-11 17:29:30 +00:00
editorAccessibility
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;