]> khamidou — GitHub mirrors - popcorn-js.git/commitdiff
[#709] Fixes lint issues
authorRick Waldron <waldron.rick@gmail.com>
Tue, 6 Sep 2011 18:27:59 +0000 (14:27 -0400)
committerRick Waldron <waldron.rick@gmail.com>
Tue, 6 Sep 2011 18:27:59 +0000 (14:27 -0400)
popcorn.js

index 21de7bdb590c5690f14db63cd667630d65dbbc9e..90f729efe8c603603aa067b043b84cdebace681c 100644 (file)
         end = tracks.endIndex,
         start = tracks.startIndex,
 
-        registryByName = Popcorn.registryByName;
+        registryByName = Popcorn.registryByName,
 
+        byEnd, byStart, natives, type;
 
     //  Playbar advancing
     if ( previousTime < currentTime ) {
 
-
-
-
-
       while ( tracksBy.end[ end ] && tracksBy.end[ end ].end <= currentTime ) {
 
-        var byEnd = tracksBy.end[ end ],
-            natives = byEnd._natives,
-            type = natives && natives.type;
+                               byEnd = tracksBy.end[ end ];
+                               natives = byEnd._natives;
+        type = natives && natives.type;
 
         //  If plugin does not exist on this instance, remove it
         if ( !natives ||
 
       while ( tracksBy.start[ start ] && tracksBy.start[ start ].start <= currentTime ) {
 
-        var byStart = tracksBy.start[ start ],
-            natives = byStart._natives,
-            type = natives && natives.type;
+                               byStart = tracksBy.start[ start ];
+        natives = byStart._natives;
+        type = natives && natives.type;
 
         //  If plugin does not exist on this instance, remove it
         if ( !natives ||
 
       while ( tracksBy.start[ start ] && tracksBy.start[ start ].start > currentTime ) {
 
-        var byStart = tracksBy.start[ start ],
-            natives = byStart._natives,
-            type = natives && natives.type;
+                               byStart = tracksBy.start[ start ];
+        natives = byStart._natives;
+        type = natives && natives.type;
 
         // if plugin does not exist on this instance, remove it
         if ( !natives ||
 
       while ( tracksBy.end[ end ] && tracksBy.end[ end ].end > currentTime ) {
 
-        var byEnd = tracksBy.end[ end ],
-            natives = byEnd._natives,
-            type = natives && natives.type;
+                               byEnd = tracksBy.end[ end ];
+        natives = byEnd._natives;
+        type = natives && natives.type;
 
         // if plugin does not exist on this instance, remove it
         if ( !natives ||