Missed a hasClass
Showing
1 changed file
with
0 additions
and
4 deletions
... | @@ -1737,10 +1737,6 @@ test('calling play() at the end of a video resets the media index', function() { | ... | @@ -1737,10 +1737,6 @@ test('calling play() at the end of a video resets the media index', function() { |
1737 | return true; | 1737 | return true; |
1738 | }; | 1738 | }; |
1739 | 1739 | ||
1740 | player.hasClass = function(classname) { | ||
1741 | return player.el().classList.contains(classname); | ||
1742 | }; | ||
1743 | |||
1744 | player.play(); | 1740 | player.play(); |
1745 | strictEqual(player.hls.mediaIndex, 0, 'index is 1 after the first segment'); | 1741 | strictEqual(player.hls.mediaIndex, 0, 'index is 1 after the first segment'); |
1746 | }); | 1742 | }); | ... | ... |
-
Please register or sign in to post a comment