removing fiddling with require.paths from CoffeeScript

This commit is contained in:
Jeremy Ashkenas
2010-03-15 20:39:46 -07:00
parent 60b3103314
commit 119b80d449
17 changed files with 31 additions and 33 deletions

View File

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