Fixed confusing use of the word/name in documentation
Jim committed
Jun 10, 2015 at 02:48 UTC
5446ef1c14b20ca856de9f6036ebf761c2383898
2 files changed
+4
-4
docs/docs/ref-01-top-level-api.md
+3
-3
@@ -157,15 +157,15 @@ If this component has been mounted into the DOM, this returns the corresponding
157
#### React.Children.map
158
159
```javascript
160
-object React.Children.map(object children, function fn [, object context])
160
+object React.Children.map(object children, function fn [, object thisArg])
161
```
162
163
-Invoke `fn` on every immediate child contained within `children` with `this` set to `context`. If `children` is a nested object or array it will be traversed: `fn` will never be passed the container objects. If children is `null` or `undefined` returns `null` or `undefined` rather than an empty object.
163
+Invoke `fn` on every immediate child contained within `children` with `this` set to `thisArg`. If `children` is a nested object or array it will be traversed: `fn` will never be passed the container objects. If children is `null` or `undefined` returns `null` or `undefined` rather than an empty object.
164
165
#### React.Children.forEach
166
167
```javascript
168
-React.Children.forEach(object children, function fn [, object context])
168
+React.Children.forEach(object children, function fn [, object thisArg])
169
```
170
171
Like `React.Children.map()` but does not return an object.
docs/tips/13-false-in-jsx.md
+1
-1
@@ -7,7 +7,7 @@ prev: initial-ajax.html
7
next: communicate-between-components.html
8
---
9
10
-Here's how `false` renders in different contexts:
10
+Here's how `false` renders in different situations:
11
12
Renders as `id="false"`:
13