minor optimization in element parsing
This commit is contained in:
parent
2dea90afb7
commit
7b96181f06
@ -323,7 +323,7 @@ less.parser = {
|
||||
var e, t;
|
||||
|
||||
c = $(this.combinator);
|
||||
e = $(/[.#:]?[a-zA-Z0-9_-]+/g) || $('*') || $(this.attribute) || $(/\(.*?\)/g);
|
||||
e = $(/[.#:]?[a-zA-Z0-9_-]+/g) || $('*') || $(this.attribute) || $(/\([^)]*\)/g);
|
||||
|
||||
if (e) { return new(node.Element)(c, e) }
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user