File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -3,13 +3,13 @@ import {bind} from 'angular2/di';
33import { createStore , applyMiddleware } from 'redux' ;
44import thunk from 'redux-thunk' ;
55import { App } from './containers/App' ;
6- import { createRedux } from 'ng2-redux' ;
6+ import { provide } from 'ng2-redux' ;
77import { rootReducer } from './reducers' ;
88
99const createStoreWithMiddleware = applyMiddleware ( thunk ) ( createStore ) ;
1010const store = createStoreWithMiddleware ( rootReducer ) ;
1111
1212bootstrap (
1313 App ,
14- [ createRedux ( store ) ]
14+ [ provide ( store ) ]
1515 ) ;
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ import Connector from './connector';
22import { bind , Injector } from 'angular2/di' ;
33let redux = require ( 'redux' ) ;
44
5- export function createRedux ( store ) {
5+ export function provide ( store ) {
66 const _connector = new Connector ( store ) ;
77
88 return bind ( 'ngRedux' ) . toFactory ( ( ) => {
You can’t perform that action at this time.
0 commit comments