Skip to content

Commit

Permalink
Correcting the syntax of object declarations. (#96)
Browse files Browse the repository at this point in the history
Missing commas as described in issue #95.
  • Loading branch information
Craig Wright authored and timche committed Jun 28, 2016
1 parent b9d5eb7 commit c2d1293
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ const increment = createAction('INCREMENT');

// As parameter in handleAction:
handleAction(increment, {
next(state, action) {...}
next(state, action) {...},
throw(state, action) {...}
});

Expand Down Expand Up @@ -88,7 +88,7 @@ Otherwise, you can specify separate reducers for `next()` and `throw()`. This AP

```js
handleAction('FETCH_DATA', {
next(state, action) {...}
next(state, action) {...},
throw(state, action) {...}
});
```
Expand Down

0 comments on commit c2d1293

Please sign in to comment.