mirror of
https://github.com/less/less.js.git
synced 2026-02-06 04:55:03 -05:00
14 lines
249 B
JavaScript
14 lines
249 B
JavaScript
(function (tree) {
|
|
|
|
tree.URL = function URL(val) {
|
|
this.value = val;
|
|
};
|
|
tree.URL.prototype = {
|
|
toCSS: function () {
|
|
return "url(" + this.value.toCSS() + ")";
|
|
},
|
|
eval: function () { return this }
|
|
};
|
|
|
|
})(require('less/tree'));
|