]> khamidou — GitHub mirrors - popcorn-js.git/commitdiff
[#572] white space
authorScottDowne <sdowne@learn.senecac.on.ca>
Tue, 14 Jun 2011 13:20:23 +0000 (09:20 -0400)
committerScottDowne <sdowne@learn.senecac.on.ca>
Tue, 14 Jun 2011 13:20:23 +0000 (09:20 -0400)
popcorn.js

index 3d4fefae8371e42eb4985c843afb98ef11447ec4..18e18fbeb5208f1d6cca92af923196d72da82b61 100644 (file)
         byEnd = obj.data.trackEvents.byEnd, 
         idx;
 
-    for ( idx = byStart.length-1; idx >= 0; idx-- ) {
+    for ( idx = byStart.length - 1; idx >= 0; idx-- ) {
 
-      if ( track.start >= byStart[idx].start ) {
+      if ( track.start >= byStart[ idx ].start ) {
         byStart.splice( idx + 1, 0, track );
         break;
       }
     }
 
-    for ( idx = byEnd.length-1; idx >= 0; idx-- ) {
+    for ( idx = byEnd.length - 1; idx >= 0; idx-- ) {
 
-      if ( track.end > byEnd[idx].end ) {
+      if ( track.end > byEnd[ idx ].end ) {
         byEnd.splice( idx + 1, 0, track );
         break;
       }