mirror of
https://github.com/less/less.js.git
synced 2026-02-09 06:25:24 -05:00
17 lines
372 B
JavaScript
17 lines
372 B
JavaScript
(function (tree) {
|
|
|
|
tree.RulesetCall = function (variable) {
|
|
this.variable = variable;
|
|
};
|
|
tree.RulesetCall.prototype = {
|
|
type: "RulesetCall",
|
|
accept: function (visitor) {
|
|
},
|
|
eval: function (env) {
|
|
var detachedRuleset = new(tree.Variable)(this.variable).eval(env);
|
|
return detachedRuleset.callEval(env);
|
|
}
|
|
};
|
|
|
|
})(require('../tree'));
|