diff --git a/ep62-redux-async/redux-store.html b/ep62-redux-async/redux-store.html index e3fd9e6..8689a37 100644 --- a/ep62-redux-async/redux-store.html +++ b/ep62-redux-async/redux-store.html @@ -34,11 +34,15 @@ username: action.username }); } - } - const store = Redux.createStore( + } + var store = Redux.createStore( reducer, - Redux.applyMiddleware(ReduxThunk.default) - ); + Redux.compose( + Redux.applyMiddleware(ReduxThunk.default), + window.devToolsExtension ? + window.devToolsExtension() : + v => v + )); const ReduxBehavior = PolymerRedux(store); const AsyncActionsBehavior = { actions: { @@ -56,4 +60,4 @@ } } }; - \ No newline at end of file +