mirror of
https://github.com/videojs/video.js.git
synced 2025-04-11 11:42:08 +02:00
Exported util namespace and mergeOptions
This commit is contained in:
parent
df57b302da
commit
522f45f458
@ -148,3 +148,6 @@ goog.exportSymbol('videojs.autoSetup', vjs.autoSetup);
|
||||
goog.exportSymbol('videojs.plugin', vjs.plugin);
|
||||
|
||||
goog.exportSymbol('videojs.createTimeRange', vjs.createTimeRange);
|
||||
|
||||
goog.exportSymbol('videojs.util', vjs.util);
|
||||
goog.exportProperty(vjs.util, 'mergeOptions', vjs.util.mergeOptions);
|
||||
|
@ -71,6 +71,9 @@ test('should export useful components to the public', function () {
|
||||
ok(videojs.Menu, 'Menu should be public');
|
||||
ok(videojs.MenuItem, 'MenuItem should be public');
|
||||
ok(videojs.MenuButton, 'MenuButton should be public');
|
||||
|
||||
ok(videojs.util, 'util namespace should be public');
|
||||
ok(videojs.util.mergeOptions, 'mergeOptions should be public');
|
||||
});
|
||||
|
||||
test('should be able to initialize player twice on the same tag using string reference', function() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user