Sha256: 3a49c652baa3d25bca9984b9ad82d07ca097ff8d9e5cdae253016bcea971cf8c

Contents?: true

Size: 392 Bytes

Versions: 8

Compression:

Stored size: 392 Bytes

Contents

(function (tree) {

tree.Alpha = function (val) {
    this.value = val;
};
tree.Alpha.prototype = {
    toCSS: function () {
        return "alpha(opacity=" +
               (this.value.toCSS ? this.value.toCSS() : this.value) + ")";
    },
    eval: function (env) {
        if (this.value.eval) { this.value = this.value.eval(env) }
        return this;
    }
};

})(require('less/tree'));

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
less-2.0.7 lib/less/js/lib/less/tree/alpha.js
less-2.0.6 lib/less/js/lib/less/tree/alpha.js
less-2.0.5 lib/less/js/lib/less/tree/alpha.js
less-2.0.4 lib/less/js/lib/less/tree/alpha.js
less-2.0.3 lib/less/js/lib/less/tree/alpha.js
less-2.0.2 lib/less/js/lib/less/tree/alpha.js
less-2.0.1 lib/less/js/lib/less/tree/alpha.js
less-2.0.0 lib/less/js/lib/less/tree/alpha.js