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