move node/ -> tree/

This commit is contained in:
cloudhead 2010-03-05 19:19:14 -05:00
parent 3175652f76
commit f0f425de33
20 changed files with 1 additions and 10 deletions

View File

@ -5,7 +5,6 @@ require.paths.unshift(path.join(__dirname, '..', '..'));
var less = require('less');
process.mixin(less, require('less/parser'));
process.mixin(less.parser, require('less/node'));
process.mixin(less.tree, require('less/tree'));
process.mixin(exports, less);

View File

@ -1,8 +0,0 @@
node.operate = function (op, a, b) {
switch (op) {
case '+': return a + b;
case '-': return a - b;
case '*': return a * b;
case '/': return a / b;
}
};

View File

@ -8,7 +8,7 @@ require.paths.unshift(__dirname);
'selector', 'quoted', 'expression', 'rule',
'call', 'url', 'alpha', 'mixin'
].forEach(function (n) {
process.mixin(tree, require(path.join('less', 'node', n)));
process.mixin(tree, require(path.join('less', 'tree', n)));
});
require('functions');