2010-03-13 16:34:48 +08:00
|
|
|
if (typeof(require) !== 'undefined') { var tree = require('less/tree') }
|
2010-03-02 04:32:21 +08:00
|
|
|
|
|
|
|
tree.Alpha = function Alpha(val) {
|
2010-02-26 11:32:34 +08:00
|
|
|
this.value = val;
|
|
|
|
};
|
2010-03-02 04:32:21 +08:00
|
|
|
tree.Alpha.prototype = {
|
2010-02-26 11:32:34 +08:00
|
|
|
toCSS: function () {
|
2010-05-08 11:21:16 +08:00
|
|
|
return "alpha(opacity=" + this.value.toCSS() + ")";
|
|
|
|
},
|
|
|
|
eval: function () { return this }
|
2010-02-26 11:32:34 +08:00
|
|
|
};
|