mirror of
https://github.com/less/less.js.git
synced 2026-02-05 12:35:14 -05:00
variable selectors must be paranthesized
This commit is contained in:
@@ -945,7 +945,9 @@ less.Parser = function Parser(env) {
|
||||
selector: function () {
|
||||
var sel, e, elements = [], c, match;
|
||||
|
||||
if (sel = $(this.entities.quoted)) {
|
||||
if ($('(')) {
|
||||
sel = $(this.entity);
|
||||
expect(')');
|
||||
return new(tree.Selector)([new(tree.Element)('', sel, i)]);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user