mirror of
https://github.com/less/less.js.git
synced 2026-01-24 14:48:00 -05:00
11 lines
319 B
JavaScript
11 lines
319 B
JavaScript
if (typeof(window) === 'undefined') { var tree = require(require('path').join(__dirname, '..', '..', 'less', 'tree')); }
|
|
|
|
tree.URL = function URL(val) {
|
|
this.value = val;
|
|
};
|
|
tree.URL.prototype = {
|
|
toCSS: function () {
|
|
return "url(" + (this.value.toCSS ? this.value.toCSS() : this.value) + ")";
|
|
}
|
|
};
|