lib/less/js/lib/less/tree/keyword.js in less-2.4.0 vs lib/less/js/lib/less/tree/keyword.js in less-2.5.0

- old
+ new

@@ -1,11 +1,14 @@ (function (tree) { -tree.Keyword = function (value) { this.value = value }; +tree.Keyword = function (value) { this.value = value; }; tree.Keyword.prototype = { type: "Keyword", eval: function () { return this; }, - toCSS: function () { return this.value; }, + genCSS: function (env, output) { + output.add(this.value); + }, + toCSS: tree.toCSS, compare: function (other) { if (other instanceof tree.Keyword) { return other.value === this.value ? 0 : 1; } else { return -1;