1d9b95f9e6
- `fun(f())` is now possible - Anonymous can take normal strings - Tests for `%()`
12 lines
295 B
JavaScript
12 lines
295 B
JavaScript
if (typeof(require) !== 'undefined') { var tree = require('less/tree') }
|
|
|
|
tree.Anonymous = function Anonymous(string) {
|
|
this.value = string.content || string;
|
|
};
|
|
tree.Anonymous.prototype = {
|
|
toCSS: function () {
|
|
return this.value;
|
|
},
|
|
eval: function () { return this }
|
|
};
|