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

doc: fix code examples in CONTRIBUTING.md #402

Merged
merged 1 commit into from
Aug 20, 2017

Conversation

vsemozhetbyt
Copy link
Contributor

@vsemozhetbyt vsemozhetbyt commented Aug 19, 2017

  • fix ReferenceError: Invalid left-hand side in assignment errors

  • add variable declarations

  • unify spacing with examples in the README.md

CONTRIBUTING.md Outdated
@@ -86,7 +86,7 @@ npm run unit -- --filter=waitFor
...
// Using "fit" to run specific test
fit('should work', SX(async function() {
await response = page.goto(EMPTY_PAGE);
response = await page.goto(EMPTY_PAGE);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

const response

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done.

CONTRIBUTING.md Outdated
@@ -95,7 +95,7 @@ npm run unit -- --filter=waitFor
...
// Using "xit" to skip specific test
xit('should work', SX(async function() {
await response = page.goto(EMPTY_PAGE);
response = await page.goto(EMPTY_PAGE);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

const response

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

And done.

* fix `ReferenceError: Invalid left-hand side in assignment` errors

* add variable declarations

* unify spacing with examples in the README.md
@vsemozhetbyt vsemozhetbyt force-pushed the contributing.md-examples branch from 5d01a5f to f423bde Compare August 20, 2017 00:29
Copy link
Contributor

@ebidel ebidel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💥 thanks

@ebidel ebidel merged commit 8c245ee into puppeteer:master Aug 20, 2017
@vsemozhetbyt vsemozhetbyt deleted the contributing.md-examples branch August 20, 2017 00:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants