refactor of module system. Things work properly now, and it's all much cleaner.

This commit is contained in:
cloudhead
2010-03-13 03:34:48 -05:00
parent e0623094fa
commit fe732e843c
23 changed files with 45 additions and 52 deletions

View File

@@ -1,4 +1,4 @@
if (typeof(window) === 'undefined') { var tree = require(require('path').join(__dirname, '..', '..', 'less', 'tree')); }
if (typeof(require) !== 'undefined') { var tree = require('less/tree') }
tree.Variable = function Variable(name) { this.name = name };
tree.Variable.prototype = {