mirror of
https://github.com/videojs/video.js.git
synced 2025-01-21 11:02:08 +02:00
57af15ce8b
Prevent techs (and others) from being registered via registerComponent. * `registerComponent` now throws if given an object that is not a subclass of Component (or Component itself). * `registerComponent` now throws if given a non-empty string as its name argument. BREAKING CHANGE: registerComponent now throws if no name or not a component is passed in.