Skip to content

Commit c5f75cd

Browse files
committed
Update parse-css.js
I think this is a small typo as the reconsume method isn't a free function at this scope.
1 parent 5644a8f commit c5f75cd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

parse-css.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1030,7 +1030,7 @@ function consumeAListOfDeclarations(s) {
10301030
if(decl = consumeADeclaration(new TokenStream(temp))) decls.push(decl);
10311031
} else {
10321032
parseerror(s);
1033-
reconsume();
1033+
s.reconsume();
10341034
while(!(s.next() instanceof SemicolonToken || s.next() instanceof EOFToken))
10351035
consumeAComponentValue(s);
10361036
}

0 commit comments

Comments
 (0)