Skip to content

Code style suggestions#167

Closed
romfrolov wants to merge 4 commits intodisease-sh:masterfrom
romfrolov:code-style-suggestions
Closed

Code style suggestions#167
romfrolov wants to merge 4 commits intodisease-sh:masterfrom
romfrolov:code-style-suggestions

Conversation

@romfrolov
Copy link
Copy Markdown
Contributor

@romfrolov romfrolov commented Mar 24, 2020

  • No var
  • Added missing semicolons
  • Uppercase letters for base URL constant

Closes #164.
Closes #166.

Comment thread funcs/historical.js
Comment on lines +38 to 41
// REVIEW
// parsedCases.pop()
// parsedDeaths.pop()
// recParsed.pop()
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Suggested change
// REVIEW
// parsedCases.pop()
// parsedDeaths.pop()
// recParsed.pop()

We should either remove these lines or add some meaningful comment about why these lines should remain commented out.

Comment thread utils/country_utils.js Outdated
Copy link
Copy Markdown
Collaborator

@ebwinters ebwinters left a comment

Choose a reason for hiding this comment

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

Looks fine but #117 is gonna have conflicts with utils/country_utils.js

@romfrolov
Copy link
Copy Markdown
Contributor Author

@ebwinters I returned the previous values to avoid conflicts and keep PRs independent.

@ghost
Copy link
Copy Markdown

ghost commented Mar 25, 2020

not required and is conflicting with some changes ;(

@ghost ghost closed this Mar 25, 2020
This pull request was closed.
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.

Replace "NO DATA" with null

2 participants