jshint update
Showing
1 changed file
with
2 additions
and
2 deletions
... | @@ -1261,7 +1261,7 @@ test('live playlist starts with correct currentTime value', function() { | ... | @@ -1261,7 +1261,7 @@ test('live playlist starts with correct currentTime value', function() { |
1261 | player.hls.playlists.trigger('loadedmetadata'); | 1261 | player.hls.playlists.trigger('loadedmetadata'); |
1262 | player.hasClass = function(classname) { | 1262 | player.hasClass = function(classname) { |
1263 | return player.el().classList.contains(classname); | 1263 | return player.el().classList.contains(classname); |
1264 | } | 1264 | }; |
1265 | 1265 | ||
1266 | player.hls.play(); | 1266 | player.hls.play(); |
1267 | 1267 | ||
... | @@ -1742,7 +1742,7 @@ test('calling play() at the end of a video resets the media index', function() { | ... | @@ -1742,7 +1742,7 @@ test('calling play() at the end of a video resets the media index', function() { |
1742 | 1742 | ||
1743 | player.hasClass = function(classname) { | 1743 | player.hasClass = function(classname) { |
1744 | return player.el().classList.contains(classname); | 1744 | return player.el().classList.contains(classname); |
1745 | } | 1745 | }; |
1746 | 1746 | ||
1747 | player.play(); | 1747 | player.play(); |
1748 | strictEqual(player.hls.mediaIndex, 0, 'index is 1 after the first segment'); | 1748 | strictEqual(player.hls.mediaIndex, 0, 'index is 1 after the first segment'); | ... | ... |
-
Please register or sign in to post a comment