mirror of
https://github.com/less/less.js.git
synced 2026-01-23 22:27:57 -05:00
Element doesnt need to have a combinator
This commit is contained in:
@@ -4,7 +4,7 @@ node.Element = function Element(combinator, value) {
|
||||
this.value = value.trim();
|
||||
};
|
||||
node.Element.prototype.toCSS = function () {
|
||||
var css = this.combinator.toCSS() + this.value;
|
||||
var css = (this.combinator ? this.combinator.toCSS() : '') + this.value;
|
||||
return css;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user