mirror of
https://github.com/videojs/video.js.git
synced 2025-01-27 11:22:06 +02:00
Update plugin tests to support compiling
This commit is contained in:
parent
cb77fb337f
commit
1f3a9f117d
@ -129,3 +129,5 @@ goog.exportSymbol('videojs.SubtitlesTrack', vjs.SubtitlesTrack);
|
||||
goog.exportSymbol('videojs.ChaptersTrack', vjs.ChaptersTrack);
|
||||
|
||||
goog.exportSymbol('videojs.autoSetup', vjs.autoSetup);
|
||||
|
||||
goog.exportSymbol('videojs.plugin', vjs.plugin);
|
||||
|
@ -33,9 +33,9 @@ test('Plugin should have the option of being initilized outside of player init',
|
||||
|
||||
var player = PlayerTest.makePlayer({});
|
||||
|
||||
ok(player.myPlugin3, 'Plugin has direct access on player instance');
|
||||
ok(player['myPlugin3'], 'Plugin has direct access on player instance');
|
||||
|
||||
player.myPlugin3({
|
||||
player['myPlugin3']({
|
||||
'test': true
|
||||
});
|
||||
|
||||
@ -51,7 +51,7 @@ test('Plugin should be able to add a UI component', function(){
|
||||
});
|
||||
|
||||
var player = PlayerTest.makePlayer({});
|
||||
player.myPlugin4({
|
||||
player['myPlugin4']({
|
||||
'test': true
|
||||
});
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user