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:
parent
dec9950649
commit
95f3e2f79f
4 changed files with 4 additions and 4 deletions
|
@ -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 = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue