1c5dcf30 by David LaPalomento

Use the `||` operator to default videojs namespace

Instead of using a conditional, use logical or when determining if videojs.hls should be stubbed out or not.
1 parent d290484f
1 (function(window) { 1 (function(window) {
2 2
3 if (!window.videojs) { 3 window.videojs = window.videojs || {};
4 window.videojs = {}; 4 window.videojs.hls = window.videojs.hls || {};
5 }
6 if (!window.videojs.hls) {
7 window.videojs.hls = {};
8 }
9 5
10 var 6 var
11 hls = window.videojs.hls, 7 hls = window.videojs.hls,
......