]> khamidou — GitHub mirrors - popcorn-js.git/commitdiff
Removed some hacky code adding 0.25 seconds to the exec start time
authorDavid Seifried <david.c.seifried@gmail.com>
Wed, 7 Sep 2011 21:55:44 +0000 (17:55 -0400)
committerDavid Seifried <david.c.seifried@gmail.com>
Wed, 7 Sep 2011 21:55:44 +0000 (17:55 -0400)
popcorn.js
test/popcorn.unit.js

index 87aeeb321f7b9ba2dfcbe14722efe9779cb83613..9f6b0913db0b4e57fc2257aaf57ed2b5b3a214fc 100644 (file)
 
       //  Creating a one second track event with an empty end
       Popcorn.addTrackEvent( this, {
-        start: time + 0.25,
+        start: time,
         end: time + 1,
         _running: false,
         _natives: {
index a6ca9487470510231aaf21aa2191f401e00aa092..14405220d15c20051cb91beebb99abafbd7aa9ca 100644 (file)
@@ -1890,6 +1890,8 @@ test( "Popcorn Compose", function () {
   equals( test.two.setup, 3, "three compose two setup" );
   plus();
 
+  popped.currentTime(0).pause();
+
   popped.exec( 0, function() {
     equals( test.one.running, 1, "one compose running" );
    plus();