airbnb / hypernova

A service for server-side rendering your JavaScript views
MIT License
5.82k stars 207 forks source link

Convert to arrow function #133

Closed cos closed 5 years ago

cos commented 6 years ago

Converting a few traditional functions to ES6 arrow syntax. It's a pure refactoring, does not affect behavior.

Feel free to squash the commits.

cos commented 6 years ago

hm, I'll have a look at this

cos commented 6 years ago

yep, it doesn't like the syntax. not sure it's worth integrating the change, but thanks for responding quickly to this.

cos commented 6 years ago

there's one failure left under "Allowed Failures". it doesn't seem related to these changes.

cos commented 6 years ago

the change is tiny now. feel free to merge with squash if it's in any way useful.