mirror of
https://github.com/less/less.js.git
synced 2026-04-09 03:00:20 -04:00
give Element.toCSS a pre-space, useful when building new selectors
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 ? this.combinator.toCSS() : '') + this.value;
|
||||
var css = (this.combinator ? this.combinator.toCSS() : ' ') + this.value;
|
||||
return css;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user