mirror of
https://github.com/videojs/video.js.git
synced 2025-07-15 01:34:23 +02:00
@misteroneill fixed internal extends usage and added a deprecation warning. closes #2390
This commit is contained in:
@ -228,7 +228,7 @@ test('component can be subclassed externally', function(){
|
||||
var Component = videojs.getComponent('Component');
|
||||
var ControlBar = videojs.getComponent('ControlBar');
|
||||
|
||||
var player = new (Component.extend({
|
||||
var player = new (videojs.extends(Component, {
|
||||
reportUserActivity: function(){},
|
||||
textTracks: function(){ return {
|
||||
addEventListener: Function.prototype,
|
||||
|
Reference in New Issue
Block a user