]> khamidou — GitHub mirrors - popcorn-js.git/commitdiff
added comment above stop() and fixed erroroneous test title t705
authorChristopher De Cairos <chris.decairos@gmail.com>
Thu, 15 Sep 2011 20:53:14 +0000 (16:53 -0400)
committerChristopher De Cairos <chris.decairos@gmail.com>
Thu, 15 Sep 2011 20:53:14 +0000 (16:53 -0400)
popcorn.js
test/popcorn.unit.js

index faaaf201c4ceb900978500dfe4c69e575044b030..5cfdd6e2a0815a368998a82bfe84878eac244e5a 100644 (file)
       return this;
     },
 
+    // set currentTime to 0 and pause playback of the media
     stop: function() {
 
       return this.currentTime( 0 ).pause();
index f547a857e5f84298d2aefd912617eb57acfa1db1..5e053a29fd05ac835cdc898891e96945eaff3792 100644 (file)
@@ -601,7 +601,7 @@ test("mute", function() {
 
 });
 
-test( "Popcorn.stop", function() {
+test( "Popcorn.p.stop", function() {
 
   var $pop = Popcorn( "#video" ),
       count = 0,