-
Notifications
You must be signed in to change notification settings - Fork 22
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
underscore.js dependency for a single extend call is overkill #17
Comments
see videojs-airplay/src/js/enableAirPlay.js Line 96 in 305c613
|
Good point. Underscore is just a standard library we use a lot of places, but you're right we only have the one call in this codebase. Pull requests welcome. Make sure to familiarize yourself with our coding standards in order to ensure your PR success. |
Please also note that our plugins support IE 11, so whatever solution is chosen must be compatible with IE 11, which |
the most simple solution would be like this:
this changes the behavior slighly (mutation of passed options if addButtonToControlBar isn't defined) |
Fixed by #34 |
This is a runtime dependency and has to be downloaded, extracted, parsed by every enduser.
Please replace the extend call with Object.assign or some other plain method and drop the dependency.
The text was updated successfully, but these errors were encountered: