2010-06-16 06:44:59 +08:00
|
|
|
(function (tree) {
|
2010-03-02 04:32:21 +08:00
|
|
|
|
2010-06-19 13:51:26 +08:00
|
|
|
tree.Alpha = function (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-06-21 10:18:04 +08:00
|
|
|
return "alpha(opacity=" +
|
|
|
|
(this.value.toCSS ? this.value.toCSS() : this.value) + ")";
|
2010-05-08 11:21:16 +08:00
|
|
|
},
|
|
|
|
eval: function () { return this }
|
2010-02-26 11:32:34 +08:00
|
|
|
};
|
2010-06-16 06:44:59 +08:00
|
|
|
|
2011-01-06 03:23:28 +08:00
|
|
|
})(require('mess/tree'));
|