1
0
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:
Steve Heffernan 2013-02-04 10:43:16 -08:00
parent cb77fb337f
commit 1f3a9f117d
2 changed files with 5 additions and 3 deletions

View File

@ -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);

View File

@ -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
});