Hygiene: Remove createRootReducer

Redux.combineReducers is equally self-documenting.

Change-Id: I726fbc782fbb59aad0c8dd3c8eb168a302415e6c
This commit is contained in:
Sam Smith 2017-03-14 11:33:15 +00:00 committed by joakin
parent c5675842a3
commit a5e1cab732
3 changed files with 1 additions and 10 deletions

Binary file not shown.

Binary file not shown.

View file

@ -66,15 +66,6 @@ function registerChangeListeners( store, actions, schema, userSettings, settings
registerChangeListener( store, changeListeners.settings( actions, settingsDialog ) );
}
/**
* Creates the reducer for all actions.
*
* @return {Redux.Reducer}
*/
function createRootReducer() {
return Redux.combineReducers( reducers );
}
/*
* Initialize the application by:
* 1. Creating the state store
@ -114,7 +105,7 @@ mw.requestIdleCallback( function () {
}
store = Redux.createStore(
createRootReducer(),
Redux.combineReducers( reducers ),
compose( Redux.applyMiddleware(
ReduxThunk.default
) )