-
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
More Explicitly Deprecate Component.extend #2390
Conversation
@@ -1,5 +1,6 @@ | |||
var noop = function() {}, clock, oldTextTracks; | |||
|
|||
import videojs from '../../../src/js/video.js'; |
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.
over here since we don't need all of videojs, we can import just the extendsFn
itself:
Line 18 in dd9930b
import extendsFn from './extends.js'; |
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.
👍
Small comment, LGTM otherwise. |
I agree with @gkatsev's comment, but otherwise looks good to me. |
LGTM |
@gkatsev feel free to merge in. |
- Removes a commented-out line and an explanatory comment. - Strips trailing slashes.
bde70f0
to
19d681b
Compare
Thanks @misteroneill! |
This addresses #2383 by making sure
Component.extend
uses are removed from the source.Component.extend
method still exists for backward compatibility.videojs.extends()
).