-
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
Remove method Chaining from videojs #3860
Remove method Chaining from videojs #3860
Conversation
*/ | ||
open() { | ||
if (!this.opened_) { |
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.
wouldn't been better to not refactor this method and just remove the chaining capabilities for this PR.
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.
will revert this refactor and add to another PR
@@ -592,7 +592,7 @@ class Player extends Component { | |||
* The value to set the `Player's heigth to. | |||
* | |||
* @return {number} | |||
* The current heigth of the `Player`. | |||
* The current heigth of the `Player` when getting. |
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.
just realized there's a typo here: 'heigth' -> 'height'.
} | ||
|
||
this[privDimension] = parsedVal; | ||
} | ||
|
||
this.updateStyleEl_(); | ||
return this; | ||
return; |
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.
no need for this return.
don't refactor ModalDialog#open don't return for no reason in Player#dimension
@gkatsev rebased, and code review changes addressed |
removed method chaining changes from |
Fixes #3704 |
Description
Specific Changes proposed
List of methods that were changed:
Requirements Checklist