Skip to content

Commit

Permalink
refactor: remove extend() and tests (#7950)
Browse files Browse the repository at this point in the history
BREAKING CHANGE: This removes the videojs.extend() method, please use ES6 classes instead.
  • Loading branch information
alex-barstow authored and misteroneill committed Nov 23, 2022
1 parent 92a4edb commit 3a88b8f
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 143 deletions.
78 changes: 0 additions & 78 deletions src/js/extend.js

This file was deleted.

10 changes: 0 additions & 10 deletions src/js/video.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ import * as Dom from './utils/dom.js';
import * as browser from './utils/browser.js';
import * as Url from './utils/url.js';
import * as Obj from './utils/obj';
import extend from './extend.js';
import xhr from '@videojs/xhr';

// Include the built-in techs
Expand Down Expand Up @@ -359,15 +358,6 @@ videojs.browser = browser;
*/
videojs.obj = Obj;

/**
* Deprecated reference to the {@link module:extend~extend|extend function}
*
* @type {Function}
* @see {@link module:extend~extend|extend}
* @deprecated Deprecated and will be removed in 9.0. Please use native ES6 classes instead.
*/
videojs.extend = deprecateForMajor(9, 'videojs.extend', 'native ES6 classes', extend);

/**
* Deprecated reference to the {@link module:obj.merge|merge function}
*
Expand Down
55 changes: 0 additions & 55 deletions test/unit/extend.test.js

This file was deleted.

0 comments on commit 3a88b8f

Please sign in to comment.