Files
less.js/lib/less/node/url.js
2010-02-25 21:27:23 -05:00

10 lines
196 B
JavaScript

node.URL = function URL(val) {
this.value = val;
};
node.URL.prototype = {
toCSS: function () {
return "url(" + this.value.toCSS ? this.value.toCSS() : this.value + ")";
}
};