From b84ec0b67f3937f3bed5099fe3bd50693cc0fb8e Mon Sep 17 00:00:00 2001 From: cloudhead Date: Thu, 25 Feb 2010 17:55:12 -0500 Subject: [PATCH] Element doesnt need to have a combinator --- lib/less/node/element.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/less/node/element.js b/lib/less/node/element.js index e9923c3..9126560 100644 --- a/lib/less/node/element.js +++ b/lib/less/node/element.js @@ -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; };