carto/lib/less/tree/comment.js
2010-06-19 01:51:26 -04:00

15 lines
294 B
JavaScript

(function (tree) {
tree.Comment = function (value, silent) {
this.value = value;
this.silent = !!silent;
};
tree.Comment.prototype = {
toCSS: function (env) {
return env.compress ? '' : this.value;
},
eval: function () { return this }
};
})(require('less/tree'));