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

Enable simple class extensions without any constructor #2308

Conversation

pavelhoral
Copy link
Contributor

Allows videojs.extends to properly handle creating a subclass without any specified constructor. Previous implementation just threw child properties/methods away. Fixes #2303.

@pavelhoral pavelhoral force-pushed the feature/implicit-super-constructor-call branch from c17b94e to cb1e4ab Compare July 6, 2015 21:57
`videojs.extends` now properly handles the case when there is no
constructor provided for the child class.

Fixes videojs#2303.
@pavelhoral pavelhoral force-pushed the feature/implicit-super-constructor-call branch from cb1e4ab to a9964d0 Compare July 6, 2015 21:58
@heff
Copy link
Member

heff commented Jul 6, 2015

Looks good to me, thanks! And thanks for the test.

@heff
Copy link
Member

heff commented Jul 10, 2015

Thanks again!

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.

2 participants