Skip to content

Commit edad852

Browse files
committed
[css-hint addon] Use inner state, rather than token state
Closes #2482
1 parent c035913 commit edad852

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

addon/hint/css-hint.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
result.push(name);
2525
}
2626

27-
var st = token.state.state;
27+
var st = inner.state.state;
2828
if (st == "pseudo" || token.type == "variable-3") {
2929
add(pseudoClasses);
3030
} else if (st == "block" || st == "maybeprop") {

0 commit comments

Comments
 (0)