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
mediaSource = new videojs.MediaSource(),
segmentParser = new videojs.hls.SegmentParser(),
player = this,
extname,
srcUrl,
segmentXhr,
......
......@@ -546,6 +546,7 @@ test('ignores src attribute if it doesn\'t have the "m3u8" extension', function(
});
test('activates if the first playable source is HLS', function() {
var video;
document.querySelector('#qunit-fixture').innerHTML =
'<video controls>' +
'<source type="slartibartfast$%" src="movie.slarti">' +
......