mirror of
https://github.com/videojs/video.js.git
synced 2025-02-08 12:05:47 +02:00
fix: remove deprecation of getComponent feature (#7410)
Since Video.js 6, we've removed the deprecated functionality, we no longer need to have a deprecation warning.
This commit is contained in:
parent
3ea078d40b
commit
6d39ee24b1
@ -1706,11 +1706,6 @@ class Component {
|
||||
*
|
||||
* @return {Component}
|
||||
* The `Component` that got registered under the given name.
|
||||
*
|
||||
* @deprecated In `videojs` 6 this will not return `Component`s that were not
|
||||
* registered using {@link Component.registerComponent}. Currently we
|
||||
* check the global `videojs` object for a `Component` name and
|
||||
* return that if it exists.
|
||||
*/
|
||||
static getComponent(name) {
|
||||
if (!name || !Component.components_) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user