8b4d830c by David LaPalomento

Fix jshint warnings

Remove an unused variable and avoid a global in the tests.
1 parent 2f979027
...@@ -182,7 +182,6 @@ var ...@@ -182,7 +182,6 @@ var
182 mediaSource = new videojs.MediaSource(), 182 mediaSource = new videojs.MediaSource(),
183 segmentParser = new videojs.hls.SegmentParser(), 183 segmentParser = new videojs.hls.SegmentParser(),
184 player = this, 184 player = this,
185 extname,
186 srcUrl, 185 srcUrl,
187 186
188 segmentXhr, 187 segmentXhr,
......
...@@ -546,6 +546,7 @@ test('ignores src attribute if it doesn\'t have the "m3u8" extension', function( ...@@ -546,6 +546,7 @@ test('ignores src attribute if it doesn\'t have the "m3u8" extension', function(
546 }); 546 });
547 547
548 test('activates if the first playable source is HLS', function() { 548 test('activates if the first playable source is HLS', function() {
549 var video;
549 document.querySelector('#qunit-fixture').innerHTML = 550 document.querySelector('#qunit-fixture').innerHTML =
550 '<video controls>' + 551 '<video controls>' +
551 '<source type="slartibartfast$%" src="movie.slarti">' + 552 '<source type="slartibartfast$%" src="movie.slarti">' +
......