]> khamidou — GitHub mirrors - popcorn-js.git/commitdiff
Applies to #157
authorrwldrn <waldron.rick@gmail.com>
Sat, 4 Dec 2010 21:10:59 +0000 (16:10 -0500)
committerrwldrn <waldron.rick@gmail.com>
Sat, 4 Dec 2010 21:10:59 +0000 (16:10 -0500)
popcorn.js
test/popcorn-api-draft-unit.js

index 41eab06805c3570090a4169c8357f9b0c54cfb26..ae5f43ff72bed6d7c5fe356ab823cfae70e78e77 100644 (file)
       plugin: plugin
     });
     
-    
     //  within the context of a plugin
     //  any of the events can be listened to 
   };
index 6cc77096783a7e5d530d42762dce2eb23219ab98..87e857c0cf726f14811cf5e261aa552da6171f78 100644 (file)
@@ -122,6 +122,7 @@ test("Popcorn Events Stored By Type", function () {
       ;
 
   function plus(){ 
+
     if ( ++count == 4 ) {
       
       if ( fired === 4 ) {
@@ -178,7 +179,9 @@ test("Popcorn Events Stored By Type", function () {
 
 
 test("Popcorn Events Simulated", function () {
-
+  
+  QUnit.reset();
+  
   var p = Popcorn("#video"),
       completed = [], 
       eventtest = "loadstart progress suspend emptied stalled play pause " +