public
/
clean-css.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a0d385d
)
Style consistency changes.
author
XhmikosR
<xhmikosr@users.sourceforge.net>
Mon, 4 Nov 2013 09:55:39 +0000
(11:55 +0200)
committer
XhmikosR
<xhmikosr@users.sourceforge.net>
Mon, 4 Nov 2013 10:20:40 +0000
(12:20 +0200)
lib/selectors/tokenizer.js
patch
|
blob
|
history
diff --git
a/lib/selectors/tokenizer.js
b/lib/selectors/tokenizer.js
index
2737d2d
..
6a7e789
100644
(file)
--- 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;