-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Turn Cursor into an ES6 class #2553
Conversation
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.
Thanks!
Sorry for the delay here - really appreciate this! Merging now. You marked this as a breaking change but none of the tests needed to change - is this a semver major thing? I'm fine either way & can release it however you think is best. |
Did I? This shouldn't be breaking yes. |
* Turn Cursor into an ES6 class * Fix incorrect syntax in Cursor.end() * Remove extraneous empty line * Revert es6 change for end() * Revert back to defining the end() method inside the class * Use hanging indent to satisfy Prettier
Unlike most other objects Cursor has remained unchanged to an ES6 class. As somewhat expected the git diff is kind of a mess when changes like these happen, I don't think there's anything that can be done considering everything had to be indented an additional time.