8000 variable selectors must be paranthesized · rusongyu/less.js@67ed7df · GitHub
[go: up one dir, main page]

Skip to content

Commit 67ed7df

Browse files
committed
variable selectors must be paranthesized
1 parent 98d513a commit 67ed7df

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

lib/less/parser.js

Lines changed: 3 additions & 1 deletion
+
if ($('(')) {
Original file line numberDiff line numberDiff line change
@@ -945,7 +945,9 @@ less.Parser = function Parser(env) {
945945
selector: function () {
946946
var sel, e, elements = [], c, match;
947947

948-
if (sel = $(this.entities.quoted)) {
948
949+
sel = $(this.entity);
950+
expect(')');
949951
return new(tree.Selector)([new(tree.Element)('', sel, i)]);
950952
}
951953

0 commit comments

Comments
 (0)
0