Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add store.dispatch fixes #1644 #1645

Closed
wants to merge 1 commit into from
Closed

add store.dispatch fixes #1644 #1645

wants to merge 1 commit into from

Conversation

reggi
Copy link
Contributor

@reggi reggi commented Apr 20, 2016

No description provided.

@@ -18,17 +18,13 @@ import compose from './compose'
*/
export default function applyMiddleware(...middlewares) {
return (createStore) => (reducer, initialState, enhancer) => {
var store = createStore(reducer, initialState, enhancer)
var dispatch
var chain = []
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This chain declaration here doesn't do a thing :/

@hackerwins
Copy link

@reggi 👍

@gaearon
Copy link
Contributor

gaearon commented Apr 20, 2016

This doesn’t pass the tests.

@gaearon
Copy link
Contributor

gaearon commented Apr 20, 2016

I’m closing because of the failing test. #1647 is another fix, and it doesn’t fail the tests.

@gaearon gaearon closed this Apr 20, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants