Merge pull request #3693 from raphaelsiz/develop
Pattern design tutorial proofreading
This commit is contained in:
commit
a7afc2b508
4 changed files with 8 additions and 8 deletions
|
@ -2,5 +2,5 @@
|
|||
title: Proofreading
|
||||
---
|
||||
|
||||
You could check the original English text of translations for typos and/or grammar mistakes.
|
||||
You could check the original English text or translations for typos and/or grammar mistakes.
|
||||
You could propose improvements and watch over a consistent style and tone across FreeSewing’s documentation and written text.
|
||||
|
|
|
@ -127,7 +127,7 @@ function draftBib({
|
|||
</Example>
|
||||
|
||||
To add the points, we're using the `Point.flipX()` and `Point.flipY()` methods
|
||||
here. There's a few new Path methods to, like `close()` and `addClass()`.
|
||||
here. There's a few new Path methods too, like `close()` and `addClass()`.
|
||||
|
||||
Perhaps you can figure out what they do? If not, both [the Point
|
||||
documentation](/reference/api/point/) and [the Path
|
||||
|
|
|
@ -23,7 +23,7 @@ function draftBib({
|
|||
points,
|
||||
// highlight-start
|
||||
measurements,
|
||||
options
|
||||
options,
|
||||
// highlight-end
|
||||
part,
|
||||
}) {
|
||||
|
|
|
@ -31,18 +31,18 @@ equivalent:
|
|||
<Tabs tabs="Without destructuring, With destructuring">
|
||||
<Tab>
|
||||
```design/src/bib.mjs
|
||||
function draftBib({ part }) {
|
||||
function draftBib(props) {
|
||||
|
||||
return props.part
|
||||
|
||||
return part
|
||||
}
|
||||
```
|
||||
</Tab>
|
||||
<Tab>
|
||||
```design/src/bib.mjs
|
||||
function draftBib(props) {
|
||||
|
||||
return props.part
|
||||
function draftBib({ part }) {
|
||||
|
||||
return part
|
||||
}
|
||||
```
|
||||
</Tab>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue