mirror of
https://github.com/jashkenas/coffeescript.git
synced 2026-02-16 18:44:56 -05:00
removing fiddling with require.paths from CoffeeScript
This commit is contained in:
@@ -8,10 +8,10 @@
|
||||
|
||||
# Set up dependencies correctly for both the server and the browser.
|
||||
if process?
|
||||
process.mixin require 'nodes'
|
||||
process.mixin require './nodes'
|
||||
path: require 'path'
|
||||
Lexer: require('lexer').Lexer
|
||||
parser: require('parser').parser
|
||||
Lexer: require('./lexer').Lexer
|
||||
parser: require('./parser').parser
|
||||
else
|
||||
this.exports: this.CoffeeScript: {}
|
||||
Lexer: this.Lexer
|
||||
|
||||
Reference in New Issue
Block a user