mirror of
https://github.com/less/less.js.git
synced 2026-02-03 11:35:08 -05:00
14 lines
260 B
JavaScript
14 lines
260 B
JavaScript
(function (tree) {
|
|
|
|
tree.Alpha = function (val) {
|
|
this.value = val;
|
|
};
|
|
tree.Alpha.prototype = {
|
|
toCSS: function () {
|
|
return "alpha(opacity=" + this.value.toCSS() + ")";
|
|
},
|
|
eval: function () { return this }
|
|
};
|
|
|
|
})(require('less/tree'));
|