1
0
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:
David LaPalomento 2015-07-10 12:36:09 -07:00 committed by heff
parent 590e731db4
commit f53f3dc36f
2 changed files with 8 additions and 0 deletions

View File

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

View File

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