From: XhmikosR Date: Mon, 4 Nov 2013 09:55:39 +0000 (+0200) Subject: Style consistency changes. X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=a274008a46adc6644ed1bb2b33c5dcdee2e08593;p=clean-css.git Style consistency changes. --- 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;