mirror of
https://github.com/jashkenas/coffeescript.git
synced 2026-02-19 03:44:23 -05:00
namespacing CoffeeScript in the browser, and sniffing the 'require' function instead of the 'exports' object
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
if process?
|
||||
if require?
|
||||
Rewriter: require('./rewriter').Rewriter
|
||||
else
|
||||
this.exports: this
|
||||
exports: this
|
||||
Rewriter: this.Rewriter
|
||||
|
||||
# The lexer reads a stream of CoffeeScript and divvys it up into tagged
|
||||
|
||||
Reference in New Issue
Block a user