1
0
Fork 0
mirror of https://github.com/jashkenas/coffeescript.git synced 2022-11-09 12:23:24 -05:00

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 @@
// execute all scripts present in `text/coffeescript` tags.
// Set up dependencies correctly for both the server and the browser.
if ((typeof process !== "undefined" && process !== null)) {
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;