Skip to content

Commit

Permalink
Merge pull request facebook#2630 from shamrin/patch-1
Browse files Browse the repository at this point in the history
fix typo in addons.update() $splice command help
  • Loading branch information
zpao committed Nov 30, 2014
2 parents 5bd0b24 + 92862ed commit 5daffbb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/docs/10.6-update.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ The `$`-prefixed keys are called *commands*. The data structure they are "mutati

* `{$push: array}` `push()` all the items in `array` on the target.
* `{$unshift: array}` `unshift()` all the items in `array` on the target.
* `{$splice: array of arrays}` for each item in `array()` call `splice()` on the target with the parameters provided by the item.
* `{$splice: array of arrays}` for each item in `arrays` call `splice()` on the target with the parameters provided by the item.
* `{$set: any}` replace the target entirely.
* `{$merge: object}` merge the keys of `object` with the target.
* `{$apply: function}` passes in the current value to the function and updates it with the new returned value.
Expand Down

0 comments on commit 5daffbb

Please sign in to comment.