1
0
Fork 0
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:
Jeremy Ashkenas 2010-03-10 09:47:02 -05:00
parent 1f9bb6a1c4
commit ccb7f63b8a
7 changed files with 40 additions and 35 deletions

View file

@ -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';