mirror of
https://github.com/videojs/video.js.git
synced 2025-01-25 11:13:52 +02:00
exporting addClass and removeClass. added api existence tests for fadeIn,fadeOut,addClass,removeClass
This commit is contained in:
parent
699c476575
commit
f7a72b1f20
@ -57,6 +57,8 @@ goog.exportProperty(vjs.Component.prototype, 'dimensions', vjs.Component.prototy
|
||||
goog.exportProperty(vjs.Component.prototype, 'ready', vjs.Component.prototype.ready);
|
||||
goog.exportProperty(vjs.Component.prototype, 'fadeIn', vjs.Component.prototype.fadeIn);
|
||||
goog.exportProperty(vjs.Component.prototype, 'fadeOut', vjs.Component.prototype.fadeOut);
|
||||
goog.exportProperty(vjs.Component.prototype, 'addClass', vjs.Component.prototype.addClass);
|
||||
goog.exportProperty(vjs.Component.prototype, 'removeClass', vjs.Component.prototype.removeClass);
|
||||
|
||||
goog.exportSymbol('videojs.Player', vjs.Player);
|
||||
goog.exportProperty(vjs.Player.prototype, 'dispose', vjs.Player.prototype.dispose);
|
||||
|
@ -25,6 +25,10 @@ test('should be able to access expected player API methods', function() {
|
||||
ok(player.one, 'one exists');
|
||||
ok(player.bufferedPercent, 'bufferedPercent exists');
|
||||
ok(player.dimensions, 'dimensions exists');
|
||||
ok(player.fadeIn, 'fadeIn exists');
|
||||
ok(player.fadeOut, 'fadeOut exists');
|
||||
ok(player.addClass, 'addClass exists');
|
||||
ok(player.removeClass, 'removeClass exists');
|
||||
|
||||
player.dispose();
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user