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

Refactor ES5 to ES6 code #5403

Closed
12 of 13 tasks
wojciechczerniak opened this issue Sep 14, 2018 · 7 comments
Closed
12 of 13 tasks

Refactor ES5 to ES6 code #5403

wojciechczerniak opened this issue Sep 14, 2018 · 7 comments

Comments

@wojciechczerniak wojciechczerniak added this to the October 2018 milestone Sep 14, 2018
@aaronbeall
Copy link
Contributor

I can help with this, would you accept PRs?

@wojciechczerniak
Copy link
Contributor Author

That would be awesome! A pure rewrite to ES6 without any fixes and one PR per file will speed up the review process. Just skip the last one (core.js), we still have to figure out how to deal with it.

@aaronbeall
Copy link
Contributor

aaronbeall commented Oct 2, 2018

Cool. Looking through a few of the files it looks like there's some ES6 there already, like let, const, and arrow functions. Is the main goal to convert constructors and prototype members to use class syntax?

@wojciechczerniak
Copy link
Contributor Author

We did some work recently with let and const to fix ESLint warnings. You're right, that's the main goal. And to use native class extends instead extend() method (but we should keep it for backward compatibility if possible). If you have any other ideas let us know.

@aaronbeall
Copy link
Contributor

@wojciechczerniak Are you using static or class property initializers?

@wojciechczerniak
Copy link
Contributor Author

Sorry about the late answer. I've handed over the issue to the developers. They will explain everything during code review for PRs you've already started. BTW Great work, thanks!

@wojciechczerniak
Copy link
Contributor Author

Released. Documentation for custom editor is tracked here https://github.com/handsontable/docs/issues/21

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants