Skip to content
This repository has been archived by the owner on Dec 22, 2022. It is now read-only.

Commit

Permalink
DOCS: Fix example in README
Browse files Browse the repository at this point in the history
  • Loading branch information
grebaldi committed Feb 22, 2016
1 parent 26c2f9b commit 52fc896
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ const newState = $merge('rooms.kitchen', {
Well that was easy... Now let's grab a beer, turn the light off and the TV on:

```js
const beer = $head('rooms.kitchen.refridgerator');
const beer = $head('rooms.kitchen.refridgerator', state);
const newState = $all(
$set('rooms.kitchen.refridgerator', []),
$set('rooms.kitchen.light', 'off'),
Expand Down

0 comments on commit 52fc896

Please sign in to comment.