-
Notifications
You must be signed in to change notification settings - Fork 823
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
Phrasemaker to ES6 #2677
Phrasemaker to ES6 #2677
Conversation
js/widgets/phrasemaker.js:4019 Uncaught TypeError: this.getAttribute is not a function Did you test this? This error happens when I try to click on a cell. |
bcbb85d
to
51289d9
Compare
I have rectified the error. |
js/widgets/phrasemaker.js:4848 Uncaught (in promise) ReferenceError: delta is not defined when trying to save... Please check all of the widget functionality. |
4cbb09a
to
70a613a
Compare
Sorry, didn't test all of them last time, now all the buttons and their respective functionalities were tested. They worked correctly. |
70a613a
to
9d89166
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.
This file is actually very convoluted. Semantics look good, but I am still not sure we know enough ways to extensively test this widget and figure out if any crash occurs, that is due to this or it previously existed.
This change isn't helping very much anyway. Lot's of remaining |
How about you convert this to a |
This itself will expose a lot of bugs, e.g. variables declared without |
FYI, I am about 50% of the way through doing the var --> let conversion. A few tricky bits. I'll let you know when I am done. |
The var --> let conversion is complete and I gave the code a pretty thorough going over. I don't think there are any regressions. Should be ready for the arrow function updates now. |
So we can close this right? |
ig, we should and I'll start with porting to arrow functions asap. |
In continuation of #2656