lib/less/js/lib/less/tree/keyword.js in less-2.3.3 vs lib/less/js/lib/less/tree/keyword.js in less-2.4.0
- old
+ new
@@ -1,10 +1,11 @@
(function (tree) {
tree.Keyword = function (value) { this.value = value };
tree.Keyword.prototype = {
- eval: function () { return this },
- toCSS: function () { return this.value },
+ type: "Keyword",
+ eval: function () { return this; },
+ toCSS: function () { return this.value; },
compare: function (other) {
if (other instanceof tree.Keyword) {
return other.value === this.value ? 0 : 1;
} else {
return -1;