]> khamidou — GitHub mirrors - popcorn-js.git/commitdiff
[#423] moved var declaration
authorScottDowne <sdowne@learn.senecac.on.ca>
Tue, 27 Sep 2011 17:00:09 +0000 (13:00 -0400)
committerScottDowne <sdowne@learn.senecac.on.ca>
Tue, 27 Sep 2011 17:00:09 +0000 (13:00 -0400)
popcorn.js

index 334a1d07fe3c7776b2762f6e8e299cb81b10767d..39f6c2156536f141815e01b817a4df7413160251 100644 (file)
       var date = new Date() / 1000,
           baselineTime = date,
           currentTime = 0,
-          timeout,
           events = {},
 
           // The container div of the resource
           container = document.getElementById( rIdExp.exec( target ) && rIdExp.exec( target )[ 2 ] ) || document.createElement( "div" ),
           basePlayer = {},
+          timeout,
           popcorn;
 
       // copies a div into the media object