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

37 lines
1.1 KiB
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';
import assets from './modules/IDE/reducers/assets';
import search from './modules/IDE/reducers/search';
import sorting from './modules/IDE/reducers/sorting';
import loading from './modules/IDE/reducers/loading';
import collections from './modules/IDE/reducers/collections';
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,
search,
sorting,
editorAccessibility,
toast,
console,
assets,
loading,
collections
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;