move node/ -> tree/
This commit is contained in:
parent
3175652f76
commit
f0f425de33
@ -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);
|
||||
|
||||
|
@ -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;
|
||||
}
|
||||
};
|
@ -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');
|
||||
|
Loading…
Reference in New Issue
Block a user