14 lines
265 B
JavaScript
14 lines
265 B
JavaScript
(function (tree) {
|
|
|
|
tree.Alpha = function Alpha(val) {
|
|
this.value = val;
|
|
};
|
|
tree.Alpha.prototype = {
|
|
toCSS: function () {
|
|
return "alpha(opacity=" + this.value.toCSS() + ")";
|
|
},
|
|
eval: function () { return this }
|
|
};
|
|
|
|
})(require('less/tree'));
|