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

Update Frisby to an ES6 class #46

Merged
merged 1 commit into from
Apr 24, 2017

Conversation

paulmelnikow
Copy link
Collaborator

  • Apply and enforce consistent indentation
  • Switch a couple JSDoc comments to consistent format
  • Consistent spacing between methods

- Apply and enforce consistent indentation
- Switch a couple JSDoc comments to consistent format
- Consistent spacing between methods
@coveralls
Copy link

coveralls commented Apr 19, 2017

Coverage Status

Coverage decreased (-0.7%) to 92.157% when pulling 86f6aec on paulmelnikow:get-classy into 58e69a4 on MarkHerhold:master.

@paulmelnikow paulmelnikow mentioned this pull request Apr 19, 2017
*/
addHeaders (headers) {
const self = this;
_.forEach(headers, function(val, key) {
Copy link
Collaborator

Choose a reason for hiding this comment

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

Just a thought, but would it make sense to start using arrow functions for this upgrade as well to eliminate some of the const self = this statements?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Yes, that would be great! They'll make these things much more readable.

Since those changes are easy to get wrong, having more eyes to review them is good. It's impossible to review the diff here, so I would tend to make those in a separate commit.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

This diff is more contextual than I expected. Though I'd still feel more comfortable merging this first, and then tackling arrow functions.

@paulmelnikow paulmelnikow mentioned this pull request Apr 19, 2017
@MarkHerhold
Copy link
Collaborator

MarkHerhold commented Apr 19, 2017 via email

@paulmelnikow paulmelnikow merged commit 4a8bf46 into IcedFrisby:master Apr 24, 2017
@paulmelnikow paulmelnikow deleted the get-classy branch April 24, 2017 14:03
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

3 participants