12 lines
357 B
JavaScript
12 lines
357 B
JavaScript
if (typeof(window) === 'undefined') { var tree = require(require('path').join(__dirname, '..', '..', 'less', 'tree')); }
|
|
|
|
tree.Call = function Call(name, args) {
|
|
this.name = name;
|
|
this.args = args;
|
|
};
|
|
tree.Call.prototype = {
|
|
toCSS: function (context, env) {
|
|
return that.functions[this.name].apply(functions, this.args).toCSS();
|
|
}
|
|
};
|