From fd036830450db46ea2ddee00d2cf45e5f930aafb Mon Sep 17 00:00:00 2001 From: gorhill Date: Sat, 20 May 2017 16:32:42 -0400 Subject: [PATCH] minor code review: it makes no difference, I just prefer no indent there --- src/js/utils.js | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/js/utils.js b/src/js/utils.js index 1167a22fe..6ab0f9fb8 100644 --- a/src/js/utils.js +++ b/src/js/utils.js @@ -99,10 +99,9 @@ if ( i === l ) { break; } v = vtc[url.charCodeAt(i++)]; if ( v === 0 ) { break; } - if ( n !== 8 ) { - th = th * 64 + v; - n += 1; - } + if ( n === 8 ) { continue; } + th = th * 64 + v; + n += 1; } tokens[j++] = th; tokens[j++] = ti;