From a274008a46adc6644ed1bb2b33c5dcdee2e08593 Mon Sep 17 00:00:00 2001 From: XhmikosR Date: Mon, 4 Nov 2013 11:55:39 +0200 Subject: [PATCH] Style consistency changes. --- lib/selectors/tokenizer.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/lib/selectors/tokenizer.js b/lib/selectors/tokenizer.js index 2737d2db..6a7e7896 100644 --- a/lib/selectors/tokenizer.js +++ b/lib/selectors/tokenizer.js @@ -54,7 +54,8 @@ module.exports = function Tokenizer(data) { var nextSpecial = next[0]; var what = next[1]; - var nextEnd, oldMode; + var nextEnd; + var oldMode; if (what == 'special') { var fragment = data.substring(nextSpecial, context.cursor + '@font-face'.length + 1); @@ -100,9 +101,9 @@ module.exports = function Tokenizer(data) { continue; } - if (context.mode != 'block') { + if (context.mode != 'block') tokenized = data.substring(context.cursor, nextSpecial); - } + context.cursor = nextSpecial + 1; break; -- 2.34.1