]> khamidou — GitHub mirrors - popcorn-js.git/commitdiff
exec fn/nop check
authorScottDowne <sdowne@learn.senecac.on.ca>
Wed, 23 Feb 2011 18:19:23 +0000 (13:19 -0500)
committerScottDowne <sdowne@learn.senecac.on.ca>
Wed, 23 Feb 2011 18:19:23 +0000 (13:19 -0500)
popcorn.js

index 01ae29b4855e8bb8bf1bfcd8cd2813f744364d98..8677ce646e9994d015a52eb250ce500f0c299925 100644 (file)
         end: time + 1,
         _running: false,
         _natives: {
-          start: fn,
+          start: fn || Popcorn.nop,
           type: "exec"
         }
       });