]> khamidou — GitHub mirrors - popcorn-js.git/commitdiff
[#319] reorg DRY-out
authorrwldrn <waldron.rick@gmail.com>
Wed, 9 Feb 2011 20:06:33 +0000 (15:06 -0500)
committerrwldrn <waldron.rick@gmail.com>
Wed, 9 Feb 2011 20:06:33 +0000 (15:06 -0500)
popcorn.js

index ffc80d54fe9121ca8eb6548055b3783953a3b2ba..6ae2e38bcc7d35d6e6786e4a7ffaf101bb0684fa 100644 (file)
       // remove all trackEvents
       for ( idx = 0, sl = byStart.length; idx < sl; idx++ ) {
         
-        if ( ( byStart[ idx ] && byEnd[ idx ] ) && 
-                ( byStart[ idx ]._natives && byStart[ idx ]._natives.type === name ) && 
-                  ( byEnd[ idx ]._natives && byEnd[ idx ]._natives.type === name ) ) {
+        if ( ( byStart[ idx ] && byStart[ idx ]._natives && byStart[ idx ]._natives.type === name ) && 
+                  ( byEnd[ idx ] && byEnd[ idx ]._natives && byEnd[ idx ]._natives.type === name ) ) {
           
           byStart.splice( idx, 1 );
           byEnd.splice( idx, 1 );