docs: fix possible typo AFAIK (#6341)
parent
998f98aade
commit
e5fbef238d
|
@ -7,13 +7,13 @@ printWidth: 80
|
|||
| printWidth
|
||||
=====================================input======================================
|
||||
function f() {
|
||||
const appEntitys = getAppEntitys(loadObject).filter(
|
||||
const appEntities = getAppEntities(loadObject).filter(
|
||||
entity => entity && entity.isInstallAvailable() && !entity.isQueue() && entity.isDisabled()
|
||||
)
|
||||
}
|
||||
|
||||
function f() {
|
||||
const appEntitys = getAppEntitys(loadObject).map(
|
||||
const appEntities = getAppEntities(loadObject).map(
|
||||
entity => entity && entity.isInstallAvailable() && !entity.isQueue() && entity.isDisabled() && {
|
||||
id: entity.id
|
||||
}
|
||||
|
@ -22,7 +22,7 @@ function f() {
|
|||
|
||||
=====================================output=====================================
|
||||
function f() {
|
||||
const appEntitys = getAppEntitys(loadObject).filter(
|
||||
const appEntities = getAppEntities(loadObject).filter(
|
||||
entity =>
|
||||
entity &&
|
||||
entity.isInstallAvailable() &&
|
||||
|
@ -32,7 +32,7 @@ function f() {
|
|||
}
|
||||
|
||||
function f() {
|
||||
const appEntitys = getAppEntitys(loadObject).map(
|
||||
const appEntities = getAppEntities(loadObject).map(
|
||||
entity =>
|
||||
entity &&
|
||||
entity.isInstallAvailable() &&
|
||||
|
@ -75,14 +75,14 @@ printWidth: 80
|
|||
| printWidth
|
||||
=====================================input======================================
|
||||
a = (
|
||||
// Commment 1
|
||||
// Comment 1
|
||||
(Math.random() * (yRange * (1 - minVerticalFraction)))
|
||||
+ (minVerticalFraction * yRange)
|
||||
) - offset;
|
||||
|
||||
=====================================output=====================================
|
||||
a =
|
||||
// Commment 1
|
||||
// Comment 1
|
||||
Math.random() * (yRange * (1 - minVerticalFraction)) +
|
||||
minVerticalFraction * yRange -
|
||||
offset;
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
function f() {
|
||||
const appEntitys = getAppEntitys(loadObject).filter(
|
||||
const appEntities = getAppEntities(loadObject).filter(
|
||||
entity => entity && entity.isInstallAvailable() && !entity.isQueue() && entity.isDisabled()
|
||||
)
|
||||
}
|
||||
|
||||
function f() {
|
||||
const appEntitys = getAppEntitys(loadObject).map(
|
||||
const appEntities = getAppEntities(loadObject).map(
|
||||
entity => entity && entity.isInstallAvailable() && !entity.isQueue() && entity.isDisabled() && {
|
||||
id: entity.id
|
||||
}
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
a = (
|
||||
// Commment 1
|
||||
// Comment 1
|
||||
(Math.random() * (yRange * (1 - minVerticalFraction)))
|
||||
+ (minVerticalFraction * yRange)
|
||||
) - offset;
|
||||
|
|
|
@ -429,7 +429,7 @@ export const foo = {
|
|||
<Foo bg='red'>
|
||||
<Bar >hi </Bar>
|
||||
{ hello }
|
||||
{ /* another commment */}
|
||||
{ /* another comment */}
|
||||
</Foo>
|
||||
|
||||
\`\`\`
|
||||
|
@ -468,7 +468,7 @@ I'm an awesome paragraph.
|
|||
<Foo bg="red">
|
||||
<Bar>hi </Bar>
|
||||
{hello}
|
||||
{/* another commment */}
|
||||
{/* another comment */}
|
||||
</Foo>
|
||||
|
||||
\`\`\`
|
||||
|
@ -520,7 +520,7 @@ export const foo = {
|
|||
<Foo bg='red'>
|
||||
<Bar >hi </Bar>
|
||||
{ hello }
|
||||
{ /* another commment */}
|
||||
{ /* another comment */}
|
||||
</Foo>
|
||||
|
||||
\`\`\`
|
||||
|
@ -559,7 +559,7 @@ I'm an awesome paragraph.
|
|||
<Foo bg="red">
|
||||
<Bar>hi </Bar>
|
||||
{hello}
|
||||
{/* another commment */}
|
||||
{/* another comment */}
|
||||
</Foo>
|
||||
|
||||
\`\`\`
|
||||
|
|
|
@ -19,7 +19,7 @@ export const foo = {
|
|||
<Foo bg='red'>
|
||||
<Bar >hi </Bar>
|
||||
{ hello }
|
||||
{ /* another commment */}
|
||||
{ /* another comment */}
|
||||
</Foo>
|
||||
|
||||
```
|
||||
|
|
|
@ -950,13 +950,13 @@ let {
|
|||
```js
|
||||
// Before
|
||||
a = Math.random() * (yRange * (1 - minVerticalFraction)) +
|
||||
minVerticalFraction * yRange// Commment
|
||||
minVerticalFraction * yRange// Comment
|
||||
-
|
||||
offset;
|
||||
|
||||
// After
|
||||
a =
|
||||
// Commment
|
||||
// Comment
|
||||
Math.random() * (yRange * (1 - minVerticalFraction)) +
|
||||
minVerticalFraction * yRange -
|
||||
offset;
|
||||
|
|
|
@ -194,7 +194,7 @@ export default function(parser) {
|
|||
"<Foo bg='red'>",
|
||||
" <Bar >hi </Bar>",
|
||||
" { hello }",
|
||||
" { /* another commment */}",
|
||||
" { /* another comment */}",
|
||||
"</Foo>",
|
||||
"",
|
||||
"```",
|
||||
|
|
Loading…
Reference in New Issue