1
0
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:
Pat O'Neill
2015-07-24 09:07:58 -07:00
committed by heff
parent 8be7810049
commit 456ee4e84f
5 changed files with 17 additions and 13 deletions

View File

@ -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,