Sha256: b8075b554052da5e4428cb459beae3861fdbfaba2acc7ca487ee2aed21dae464
Contents?: true
Size: 639 Bytes
Versions: 3
Compression:
Stored size: 639 Bytes
Contents
(function (tree) { tree.Alpha = function (val) { this.value = val; }; tree.Alpha.prototype = { type: "Alpha", accept: function (visitor) { this.value = visitor.visit(this.value); }, eval: function (env) { if (this.value.eval) { return new tree.Alpha(this.value.eval(env)); } return this; }, genCSS: function (env, output) { output.add("alpha(opacity="); if (this.value.genCSS) { this.value.genCSS(env, output); } else { output.add(this.value); } output.add(")"); }, toCSS: tree.toCSS }; })(require('../tree'));
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
less-2.6.0 | lib/less/js/lib/less/tree/alpha.js |
less-2.5.1 | lib/less/js/lib/less/tree/alpha.js |
less-2.5.0 | lib/less/js/lib/less/tree/alpha.js |