From: Christopher De Cairos Date: Thu, 15 Sep 2011 20:53:14 +0000 (-0400) Subject: added comment above stop() and fixed erroroneous test title X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=refs%2Fheads%2Ft705;p=popcorn-js.git added comment above stop() and fixed erroroneous test title --- diff --git a/popcorn.js b/popcorn.js index faaaf20..5cfdd6e 100644 --- a/popcorn.js +++ b/popcorn.js @@ -1145,6 +1145,7 @@ return this; }, + // set currentTime to 0 and pause playback of the media stop: function() { return this.currentTime( 0 ).pause(); diff --git a/test/popcorn.unit.js b/test/popcorn.unit.js index f547a85..5e053a2 100644 --- a/test/popcorn.unit.js +++ b/test/popcorn.unit.js @@ -601,7 +601,7 @@ test("mute", function() { }); -test( "Popcorn.stop", function() { +test( "Popcorn.p.stop", function() { var $pop = Popcorn( "#video" ), count = 0,