mirror of
https://github.com/videojs/video.js.git
synced 2025-02-04 11:43:27 +02:00
@dmlap exported the videojs.log function. closes #2317
This commit is contained in:
parent
590e731db4
commit
f53f3dc36f
@ -60,6 +60,7 @@ CHANGELOG
|
||||
* @mmcc added a currentTime tooltip to the progress handle ([view](https://github.com/videojs/video.js/pull/2255))
|
||||
* @pavelhoral fixed subclassing without a constructor ([view](https://github.com/videojs/video.js/pull/2308))
|
||||
* @dmlap fixed a vjs_getProperty error caused by a progress check before the swf was ready ([view](https://github.com/videojs/video.js/pull/2316))
|
||||
* @dmlap exported the videojs.log function ([view](https://github.com/videojs/video.js/pull/2317))
|
||||
|
||||
--------------------
|
||||
|
||||
|
@ -321,6 +321,13 @@ videojs.addLanguage = function(code, data){
|
||||
return merge(globalOptions.languages, { [code]: data })[code];
|
||||
};
|
||||
|
||||
/**
|
||||
* Log debug messages.
|
||||
*
|
||||
* @param {...Object} messages One or more messages to log
|
||||
*/
|
||||
videojs.log = log;
|
||||
|
||||
// REMOVING: We probably should add this to the migration plugin
|
||||
// // Expose but deprecate the window[componentName] method for accessing components
|
||||
// Object.getOwnPropertyNames(Component.components).forEach(function(name){
|
||||
|
Loading…
x
Reference in New Issue
Block a user