Comparing version 0.39.1 to 0.39.2
@@ -395,2 +395,5 @@ | ||
if ('=' == this.lookahead(i).type && '{' == this.lookahead(i + 1).type) | ||
return false; | ||
if (':' == this.lookahead(i).type && !this.isPseudoSelector(i + 1) && this.lineContains('.')) | ||
@@ -931,3 +934,4 @@ return false; | ||
var i = 2 | ||
, la = this.lookahead(i).type; | ||
, la = this.lookahead(i).type | ||
, isSelector; | ||
@@ -951,6 +955,7 @@ while ('space' == la) la = this.lookahead(++i).type; | ||
&& 'selector' != this.lookahead(i).type) ; | ||
if ('=' == this.lookahead(i).type || '[' == this.lookahead(i).type) { | ||
isSelector = this.looksLikeSelector() && this.stateAllowsSelector(); | ||
if ('=' == this.lookahead(i).type || ('[' == this.lookahead(i).type && !isSelector)) { | ||
this._ident = this.peek(); | ||
return this.expression(); | ||
} else if (this.looksLikeSelector() && this.stateAllowsSelector()) { | ||
} else if (isSelector) { | ||
return this.selector(); | ||
@@ -957,0 +962,0 @@ } |
{ | ||
"name": "stylus", | ||
"description": "Robust, expressive, and feature-rich CSS superset", | ||
"version": "0.39.1", | ||
"version": "0.39.2", | ||
"author": "TJ Holowaychuk <tj@vision-media.ca>", | ||
@@ -6,0 +6,0 @@ "keywords": [ |
251727
9550