summaryrefslogtreecommitdiff
path: root/bin/lib/less/tree/comment.js
blob: f4a33840dc195d0d37edf6d49bb7b4a52461c459 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
(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('../tree'));