mirror of
https://github.com/jashkenas/coffeescript.git
synced 2022-11-09 12:23:24 -05:00
fixing exports for the browser
This commit is contained in:
parent
1f9bb6a1c4
commit
ccb7f63b8a
7 changed files with 40 additions and 35 deletions
|
@ -13,8 +13,9 @@
|
|||
Lexer = require('lexer').Lexer;
|
||||
parser = require('parser').parser;
|
||||
} else {
|
||||
parser = exports.parser;
|
||||
this.exports = (this.CoffeeScript = {});
|
||||
Lexer = this.Lexer;
|
||||
parser = this.parser;
|
||||
}
|
||||
// The current CoffeeScript version number.
|
||||
exports.VERSION = '0.5.5';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue