carto/lib/less/tree/anonymous.js
cloudhead 7be2b22cfb the e() LESS function
used to escape strings in values.
Added Anonymous node to handle things like this.
2010-04-22 19:42:02 -04:00

12 lines
285 B
JavaScript

if (typeof(require) !== 'undefined') { var tree = require('less/tree') }
tree.Anonymous = function Anonymous(string) {
this.value = string.content;
};
tree.Anonymous.prototype = {
toCSS: function () {
return this.value;
},
eval: function () { return this }
};