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

refactor player.userActive() #4716

Merged
merged 4 commits into from Nov 16, 2017
Merged

refactor player.userActive() #4716

merged 4 commits into from Nov 16, 2017

Conversation

kocoten1992
Copy link
Contributor

@kocoten1992 kocoten1992 commented Nov 3, 2017

Requirements Checklist

  • refactor player.userActive()

Copy link
Member

@gkatsev gkatsev left a comment

Choose a reason for hiding this comment

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

One suggestion, LGTM.

src/js/player.js Outdated
return;
}

this.userActive_ = bool;
Copy link
Member

Choose a reason for hiding this comment

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

we should cast this to a boolean like previously to make sure that things don't break silently
!!bool

@gkatsev gkatsev added the needs: LGTM Needs an additional approval label Nov 7, 2017
/**
* @event Player#useractive
* @type {EventTarget~Event}
*/
Copy link
Member

Choose a reason for hiding this comment

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

We need to preserve these JSDoc blocks.

/**
* @event Player#userinactive
* @type {EventTarget~Event}
*/
Copy link
Member

Choose a reason for hiding this comment

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

We need to preserve these JSDoc blocks.

@misteroneill misteroneill added needs: updates and removed needs: LGTM Needs an additional approval labels Nov 13, 2017
Copy link
Member

@gkatsev gkatsev left a comment

Choose a reason for hiding this comment

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

LGTM

@gkatsev gkatsev added needs: LGTM Needs an additional approval patch and removed needs: updates labels Nov 16, 2017
@misteroneill misteroneill added confirmed and removed needs: LGTM Needs an additional approval labels Nov 16, 2017
@gkatsev gkatsev merged commit 6cbe3ed into videojs:master Nov 16, 2017
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.

None yet

3 participants