Sha256: 76b8477241073537b7e9ce7abbf700fe0aa54201733e60f6a05a648966e663fa

Contents?: true

Size: 390 Bytes

Versions: 15

Compression:

Stored size: 390 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('../tree'));

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
less-2.3.3 lib/less/js/lib/less/tree/alpha.js
less-2.3.2 lib/less/js/lib/less/tree/alpha.js
less-2.3.1 lib/less/js/lib/less/tree/alpha.js
less-2.3.0 lib/less/js/lib/less/tree/alpha.js
less-2.2.2 lib/less/js/lib/less/tree/alpha.js
less-2.2.1 lib/less/js/lib/less/tree/alpha.js
less-2.2.0 lib/less/js/lib/less/tree/alpha.js
less-2.1.0 lib/less/js/lib/less/tree/alpha.js
less-2.0.12 lib/less/js/lib/less/tree/alpha.js
less-2.0.11 lib/less/js/lib/less/tree/alpha.js
less-2.0.10 lib/less/js/lib/less/tree/alpha.js
less-2.0.9 lib/less/js/lib/less/tree/alpha.js
less-2.0.8 lib/less/js/lib/less/tree/alpha.js
less-2.0.8beta2 lib/less/js/lib/less/tree/alpha.js
less-2.0.8beta1 lib/less/js/lib/less/tree/alpha.js