Browse Source

fix typo in addons.update() $splice command help

main
Alexey Shamrin 10 years ago
parent
commit
44ee436eea
  1. 2
      docs/10.6-update.md

2
docs/10.6-update.md

@ -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.

Loading…
Cancel
Save