Tokenizer.prototype.toTokens = function (data) {
data = data
.replace(/\r\n/g, '\n')
- .replace(/\)([^\s\{_;,])/g, this.addSourceMap ? ') __ESCAPED_COMMENT_CLEAN_CSS(0,-1)__$1' : ') $1');
+ .replace(/\)([^\s\{_;:,])/g, this.addSourceMap ? ') __ESCAPED_COMMENT_CLEAN_CSS(0,-1)__$1' : ') $1');
var chunker = new Chunker(data, '}', 128);
if (chunker.isEmpty())
]
}]
],
+ 'pseudoselector after an argument one': [
+ 'div:nth-child(2n):not(.test){}',
+ [{
+ kind: 'selector',
+ value: [{ value: 'div:nth-child(2n):not(.test)' }],
+ body: []
+ }]
+ ],
'media query': [
'@media (min-width:980px){}',
[{