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

Update the jsdoc comments to modern syntax - Part 6 #3771

Merged
merged 2 commits into from
Dec 2, 2016
Merged

Update the jsdoc comments to modern syntax - Part 6 #3771

merged 2 commits into from
Dec 2, 2016

Conversation

brandonocasey
Copy link
Contributor

Description

jsdoc part 6

Requirements Checklist

  • Feature implemented / Bug fixed
  • Reviewed by Two Core Contributors

@brandonocasey brandonocasey added documentation needs: LGTM Needs one or more additional approvals labels Nov 10, 2016
@brandonocasey brandonocasey changed the title Update the jsdoc comments to modern syntax - Part 5 Update the jsdoc comments to modern syntax - Part 6 Nov 11, 2016
Copy link
Member

@misteroneill misteroneill left a 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`.
Copy link
Member

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`.
Copy link
Member

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
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Typo - "timupdate"

Tim

* The key/value store of player options.
*
* @param {Component~ReadyCallback} [ready]
* The functino to call when this component is ready.
Copy link
Member

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.
Copy link
Member

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.
Copy link
Member

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.
Copy link
Member

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
Copy link
Member

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.

@brandonocasey brandonocasey added confirmed and removed needs: LGTM Needs one or more additional approvals labels Nov 14, 2016
@brandonocasey
Copy link
Contributor Author

@misteroneill Changes made

@gkatsev gkatsev modified the milestone: 5.14 Nov 15, 2016
@gkatsev gkatsev merged commit c902279 into videojs:master Dec 2, 2016
@brandonocasey brandonocasey deleted the chore/modernize-docs-6 branch December 6, 2016 16:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants