Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: fix possible typo AFAIK #6341

Merged
merged 1 commit into from Jul 30, 2019
Merged
Changes from all commits
Commits
File filter...
Filter file types
Jump to…
Jump to file or symbol
Failed to load files and symbols.

Always

Just for now

@@ -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>",
"",
"```",
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.