give Element.toCSS a pre-space, useful when building new selectors
This commit is contained in:
parent
35af01d29a
commit
cd764a2d8c
@ -4,7 +4,7 @@ node.Element = function Element(combinator, value) {
|
|||||||
this.value = value.trim();
|
this.value = value.trim();
|
||||||
};
|
};
|
||||||
node.Element.prototype.toCSS = function () {
|
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;
|
return css;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user