Skip to content

Commit

Permalink
Support for function composition
Browse files Browse the repository at this point in the history
  • Loading branch information
yuanchuan committed Sep 6, 2023
1 parent 8548a5a commit 275c4a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/parser/parse-css.js
Original file line number Diff line number Diff line change
Expand Up @@ -422,7 +422,7 @@ function read_func(it) {
while (!it.end()) {
c = it.curr();
let next = it.curr(1);
let composition = (c == '.' && (next == '@' || /[a-zA-Z]/.test(next)));
let composition = (c == '.' && (/[a-zA-Z@$]/.test(next)));
if (c == '(' || composition) {
has_argument = true;
it.next();
Expand Down

0 comments on commit 275c4a7

Please sign in to comment.