1
0
Fork 0
mirror of https://github.com/jashkenas/coffeescript.git synced 2022-11-09 12:23:24 -05:00

just namespacing the coffeescript compiler

This commit is contained in:
Jeremy Ashkenas 2010-02-17 23:25:17 -05:00
parent dec9950649
commit 95f3e2f79f
4 changed files with 4 additions and 4 deletions

View file

@ -7,9 +7,9 @@
lexer = new (require('lexer').Lexer)();
parser = require('parser').parser;
} else {
this.exports = this;
lexer = new Lexer();
parser = exports.parser;
this.exports = (this.CoffeeScript = {});
}
// Thin wrapper for Jison compatibility around the real lexer.
parser.lexer = {