Last change
on this file since 256 was
256,
checked in by hendrikvanantwerpen, 13 years ago
|
Reworked project structure based on REST interaction and Dojo library. As
soon as this is stable, the old jQueryUI branch can be removed (it's
kept for reference).
|
-
Property svn:executable set to
*
|
File size:
392 bytes
|
Line | |
---|
1 | (function (tree) { |
---|
2 | |
---|
3 | tree.Alpha = function (val) { |
---|
4 | this.value = val; |
---|
5 | }; |
---|
6 | tree.Alpha.prototype = { |
---|
7 | toCSS: function () { |
---|
8 | return "alpha(opacity=" + |
---|
9 | (this.value.toCSS ? this.value.toCSS() : this.value) + ")"; |
---|
10 | }, |
---|
11 | eval: function (env) { |
---|
12 | if (this.value.eval) { this.value = this.value.eval(env) } |
---|
13 | return this; |
---|
14 | } |
---|
15 | }; |
---|
16 | |
---|
17 | })(require('less/tree')); |
---|
Note: See
TracBrowser
for help on using the repository browser.