From 01d556322959eb9e2522aadfa946661bede840f3 Mon Sep 17 00:00:00 2001 From: plievone Date: Sat, 22 Mar 2014 01:40:05 +0200 Subject: [PATCH] [addons] Renamed update() directives to commands --- docs/09.6-update.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/09.6-update.md b/docs/09.6-update.md index e98fd4a8..38962ce8 100644 --- a/docs/09.6-update.md +++ b/docs/09.6-update.md @@ -51,9 +51,9 @@ var newData = React.addons.update(myData, { While the syntax takes a little getting used to (though it's inspired by [MongoDB's query language](http://docs.mongodb.org/manual/core/crud-introduction/#query)) there's no redundancy, it's statically analyzable and it's not much more typing than the mutative version. -The `$`-prefixed keys are called *directives*. The data structure they are "mutating" is called the *target*. +The `$`-prefixed keys are called *commands*. The data structure they are "mutating" is called the *target*. -## Available directives +## Available commands * `{$push: array}` `push()` all the items in `array` on the target * `{$unshift: array}` `unshift()` all the items in `array` on the target