From 2764a0040e5db555a310e2a7185e83c41a59970a Mon Sep 17 00:00:00 2001 From: rwldrn Date: Wed, 9 Feb 2011 15:06:33 -0500 Subject: [PATCH] [#319] reorg DRY-out --- popcorn.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/popcorn.js b/popcorn.js index ffc80d5..6ae2e38 100644 --- a/popcorn.js +++ b/popcorn.js @@ -336,9 +336,8 @@ // 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 ); -- 2.43.0