Upgrade to v5.0.0-rc101. Rename extends to extend

This commit is contained in:
Kasper Moskwiak 2015-09-25 23:27:44 +02:00
parent b7240e98e4
commit 05566ba701
3 changed files with 5 additions and 5 deletions

View file

@ -1,6 +1,6 @@
# Video.js Resolution Switcher
Resolution switcher for [video.js](https://github.com/videojs/video.js) build for [5.0.0-rc.90](https://github.com/videojs/video.js/tree/v5.0.0-rc.90)
Resolution switcher for [video.js](https://github.com/videojs/video.js) build for [5.0.0-rc.101](https://github.com/videojs/video.js/tree/v5.0.0-rc.101)
## Getting Started

View file

@ -23,7 +23,7 @@
* Resolution menu item
*/
var MenuItem = videojs.getComponent('MenuItem');
var ResolutionMenuItem = videojs.extends(MenuItem, {
var ResolutionMenuItem = videojs.extend(MenuItem, {
constructor: function(player, options){
MenuItem.call(this, player, options);
@ -55,7 +55,7 @@
* Resolution menu button
*/
var MenuButton = videojs.getComponent('MenuButton');
var ResolutionMenuButton = videojs.extends(MenuButton, {
var ResolutionMenuButton = videojs.extend(MenuButton, {
constructor: function(player, options){
this.sources = options.sources;
MenuButton.call(this, player, options);

View file

@ -20,10 +20,10 @@
"grunt-contrib-uglify": "^0.2",
"grunt-contrib-watch": "^0.4",
"video.js": "^5.0.0-rc.90",
"video.js": "^5.0.0-rc.101",
"qunitjs": "^1.12"
},
"peerDependencies": {
"video.js": "^5.0.0-rc.90"
"video.js": "^5.0.0-rc.101"
}
}