Merge pull request #1320 from gasi/patch-2

Fix minor typo in `update` `$push` directive
This commit is contained in:
Ben Alpert
2014-03-28 13:35:04 -10:00
+1 -1
View File
@@ -45,7 +45,7 @@ While this is fairly performant (since it only shallow copies `log n` objects an
```javascript
var newData = React.addons.update(myData, {
x: {y: {z: {$set: 7}}},
a: {b: {$push: [7]}}
a: {b: {$push: [9]}}
});
```