1
0
mirror of https://github.com/videojs/video.js.git synced 2025-02-04 11:43:27 +02:00

Removed a few leaked globals. This along with #1396 closes #603

This commit is contained in:
Steve Heffernan 2014-08-05 12:09:29 -07:00
parent bf8b62cc81
commit 1ffea6ce07
2 changed files with 2 additions and 3 deletions

View File

@ -394,7 +394,7 @@ goog.global.CLOSURE_BASE_PATH;
* the deps are written.
* @type {boolean|undefined}
*/
goog.global.CLOSURE_NO_DEPS = true;
// goog.global.CLOSURE_NO_DEPS = true;
// goog.global.CLOSURE_NO_DEPS;

View File

@ -60,8 +60,7 @@ var vjs = function(id, options, ready){
};
// Extended name, also available externally, window.videojs
var videojs = vjs;
window.videojs = window.vjs = vjs;
var videojs = window['videojs'] = vjs;
// CDN Version. Used to target right flash swf.
vjs.CDN_VERSION = 'GENERATED_CDN_VSN';