Closed ryanxcharles closed 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.
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.