mirror of
https://github.com/less/less.js.git
synced 2026-01-22 21:58:14 -05:00
16 lines
313 B
JavaScript
16 lines
313 B
JavaScript
(function (tree) {
|
|
|
|
tree.Comment = function (value, silent) {
|
|
this.value = value;
|
|
this.silent = !!silent;
|
|
};
|
|
tree.Comment.prototype = {
|
|
type: "Comment",
|
|
toCSS: function (env) {
|
|
return env.compress ? '' : this.value;
|
|
},
|
|
eval: function () { return this }
|
|
};
|
|
|
|
})(require('../tree'));
|