we need to make sure we're not eating a '-' in the operation parsing, it fucks up our generation of functions which start with a -
This commit is contained in:
parent
8adac6569e
commit
9c84b50d5b
@ -525,7 +525,7 @@ less.parser = {
|
||||
var o;
|
||||
if (o = $(this.sub) || $(this.entities.dimension) ||
|
||||
$(this.entities.color) || $(this.entities.variable) ||
|
||||
($('-') && $(this.operand))) {
|
||||
(peek(/-[0-9]/g) && $('-') && $(this.operand))) {
|
||||
return o;
|
||||
}
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user