2010-06-16 06:44:59 +08:00
|
|
|
(function (tree) {
|
2010-02-26 10:27:23 +08:00
|
|
|
|
2010-06-19 13:51:26 +08:00
|
|
|
tree.URL = function (val) {
|
2010-02-26 10:27:23 +08:00
|
|
|
this.value = val;
|
|
|
|
};
|
2010-03-02 04:32:21 +08:00
|
|
|
tree.URL.prototype = {
|
2010-02-26 10:27:23 +08:00
|
|
|
toCSS: function () {
|
2010-05-08 11:21:16 +08:00
|
|
|
return "url(" + this.value.toCSS() + ")";
|
|
|
|
},
|
|
|
|
eval: function () { return this }
|
2010-02-26 10:27:23 +08:00
|
|
|
};
|
2010-06-16 06:44:59 +08:00
|
|
|
|
|
|
|
})(require('less/tree'));
|