-
-
Notifications
You must be signed in to change notification settings - Fork 14
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
refactor: use ES2015 #31
Conversation
2566b83
to
b063250
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1, but this has conflicts with master, please rebase. |
@demurgos do you have a chance to work on this? |
Thanks for the reminder @coreyfarrell |
I rebased the PR and fixed the conflicts. The only change was in the |
I am looking into the errors: they seem to also be present on |
CI is failing on Node 6 because |
# Why Following tapjs#24, the library requires Node 6. This allows to use ES2015 features to make the code more expressive and easier to maintain. # What Replace `var` declarations by `const` or `let`. Use arrow functions. Replace `arguments` slicing with rest arguments. Use `Map` to store the listeners.
Why
Following #24, the library requires Node 6. This allows to use ES2015 features to make the code more expressive and easier to maintain.
What
Replace
var
declarations byconst
orlet
. Use arrow functions. Replacearguments
slicing with rest arguments. UseMap
to store the listeners.