moneybutton / yours-core

Client-side key and content management for Yours.
https://www.yours.network
MIT License
132 stars 27 forks source link

ES2015: use arrow functions #15

Closed ryanxcharles closed 8 years ago

ryanxcharles commented 8 years ago

We're using node 4.0 and babel, both of which support arrow functions. Promise .thens and callbacks should all be arrow functions. We need to update all appropriate instances throughout the entire codebase to use arrow functions, and then use them exclusively where appropriate from then on.

ryanxcharles commented 8 years ago

Closed by https://github.com/dattnetwork/datt/commit/51161fda2395dfb77531aed67212089f7f68d315 & https://github.com/dattnetwork/datt/commit/3d4c967086c16e83d1af3d7bc699a617cdda3aa3. I updated all the ones I could find - there may be some that I missed.