Merge pull request #6392 from vsemozhetbyt/patch-2
Fix typos in the remote.md
This commit is contained in:
commit
204734f80b
1 changed files with 2 additions and 2 deletions
|
@ -74,7 +74,7 @@ exports.withRendererCallback = (mapper) => {
|
||||||
};
|
};
|
||||||
|
|
||||||
exports.withLocalCallback = () => {
|
exports.withLocalCallback = () => {
|
||||||
return exports.mapNumbers(x => x + 1);
|
return [1,2,3].map(x => x + 1);
|
||||||
};
|
};
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -86,7 +86,7 @@ const withRendererCb = mapNumbers.withRendererCallback(x => x + 1);
|
||||||
|
|
||||||
const withLocalCb = mapNumbers.withLocalCallback();
|
const withLocalCb = mapNumbers.withLocalCallback();
|
||||||
|
|
||||||
console.log(withRendererCb, withLocalCb); // [true, true, true], [2, 3, 4]
|
console.log(withRendererCb, withLocalCb); // [undefined, undefined, undefined], [2, 3, 4]
|
||||||
```
|
```
|
||||||
|
|
||||||
As you can see, the renderer callback's synchronous return value was not as
|
As you can see, the renderer callback's synchronous return value was not as
|
||||||
|
|
Loading…
Reference in a new issue