From 5c6a7dc70cdec7e8c3559493306b5a5bb416a4eb Mon Sep 17 00:00:00 2001 From: Christopher De Cairos Date: Thu, 15 Sep 2011 16:53:14 -0400 Subject: [PATCH] added comment above stop() and fixed erroroneous test title --- popcorn.js | 1 + test/popcorn.unit.js | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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, -- 2.43.0