-
Notifications
You must be signed in to change notification settings - Fork 7.5k
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
Update the jsdoc comments to modern syntax - Part 6 #3771
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.
A few minor comments, mostly typos. Looks good otherwise.
*/ | ||
createEl() { | ||
return super.createEl('div', { | ||
className: 'vjs-mouse-display' | ||
}); | ||
} | ||
|
||
/** | ||
* handle the mouse move event on the `MouseTimeDisplay`. |
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.
"handle" should probably be capitalized.
@@ -46,7 +52,15 @@ class PlayProgressBar extends Component { | |||
}); | |||
} | |||
|
|||
updateDataAttr() { | |||
/** | |||
* Updatet the data-current-time attribute on the `PlayProgressBar`. |
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.
Typo - "Updatet"
* | ||
* @method updateARIAAttributes | ||
* @listens Player#timupdate |
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.
* The key/value store of player options. | ||
* | ||
* @param {Component~ReadyCallback} [ready] | ||
* The functino to call when this component is ready. |
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.
Typo - "functino"
* The key/value store of player options. | ||
* | ||
* @param {Component~ReadyCallback} [ready] | ||
* The functino to call when this component is ready. |
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.
Typo - "functino"
* The key/value store of player options. | ||
* | ||
* @param {Component~ReadyCallback} [ready] | ||
* The functino to call when this component is ready. |
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.
Typo - "functino"
* Update remaining time display. | ||
* | ||
* @param {EventTarget~Event} [event] | ||
* The `timeupdate` or `durationchange` event taht caused this to run. |
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.
Typo - "taht"
* @param {EventTarget~Event|string} event | ||
* A string (the type) or an event object with a type attribute | ||
* | ||
* @param {Object} [hash] data |
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.
Looks like "data" should be on the next line. And capitalized.
@misteroneill Changes made |
Description
jsdoc part 6
Requirements Checklist