7be2b22cfb
used to escape strings in values. Added Anonymous node to handle things like this.
12 lines
285 B
JavaScript
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 }
|
|
};
|