]> khamidou — GitHub mirrors - popcorn-js.git/commitdiff
fixed leaking var
authorChristopher De Cairos <chris.decairos@gmail.com>
Wed, 1 Jun 2011 22:44:41 +0000 (18:44 -0400)
committerChristopher De Cairos <chris.decairos@gmail.com>
Wed, 1 Jun 2011 22:44:41 +0000 (18:44 -0400)
popcorn.js

index c25c08b1bc4cdd5db31b46939e95e2afc362beff..06a7b53d2688e3aff9a04258784ae230d3f14c71 100644 (file)
   Popcorn.getTrackEvent = function( obj, trackId ) {
 
     var byStart = obj.data.trackEvents.byStart,
-        len = byStart.length;
+        len = byStart.length, o;
 
     while ( len-- ) {
       o = byStart[len];