-
Notifications
You must be signed in to change notification settings - Fork 7.4k
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
Linter v5 Compatibility #3478
Linter v5 Compatibility #3478
Conversation
@@ -3015,10 +3015,10 @@ Player.prototype.handleVolumeChange_; // eslint-disable-line | |||
* | |||
* @event error | |||
*/ | |||
Player.prototype.handleError_ = Player.prototype.handleError_; | |||
Player.prototype.handleError_; // eslint-disable-line |
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.
how does this work and is it needed? seems like it is never used from a quick code search
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.
it's used for the jsdoc @event
comment.
LGTM other than my small comments |
@@ -1452,7 +1452,7 @@ class Component { | |||
subObj.extend = Component.extend; | |||
|
|||
// Extend subObj's prototype with functions and other properties from props | |||
for (let name in props) { | |||
for (const name in props) { |
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.
are you sure this shouldn't be a let
?
I guess |
Yeah, ESLint complains about it. Which makes some sense, I suppose. |
deddb6b
to
caf614e
Compare
64b79cc
to
e22aca9
Compare
Description
This makes the source code pass v5 of videojs-standard.
Requirements Checklist