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

a few minor bugs and styling fixes #28

Merged
merged 3 commits into from
Aug 21, 2019
Merged

Conversation

nyurik
Copy link
Contributor

@nyurik nyurik commented Aug 16, 2019

  • Object.keys( newQualifiers ) === 0 is clearly wrong - added .length
  • there are several cases when a variable is declared only to be returned in the next line. I think it will be more concise to just return the expression result.
  • A few == and != were replaced with === and !== -- prevents unintentional type-coercion surprises
  • Added a few FIXMEs, e.g. this expression doesn't make sense to me: !value.length != !0
  • Some possibly-unused vars? Marked with a FIXME
  • Fixed a number of spelling mistakes
  • .gitignore .idea/ and yarn.lock

* `Object.keys( newQualifiers ) === 0` is clearly wrong - added `.length`
* there are several cases when a variable is declared only to be returned in the next line. I think it will be more concise to just return the expression result.
* A few `==` and `!=` were replaced with `===` and `!==` -- prevents unintentional type-coercion surprises
* Added a few FIXMEs, e.g. this expression doesn't make sense to me:  `!value.length != !0`
* Some possibly-unused vars?  Marked with a `FIXME`
* Fixed a number of spelling mistakes
* .gitignore .idea/ and yarn.lock
@vlsergey vlsergey merged commit 20a8f9c into vlsergey:master Aug 21, 2019
@nyurik nyurik deleted the minor-fixes branch August 22, 2019 03:25
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.

None yet

2 participants