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:
parent
60b3103314
commit
119b80d449
17 changed files with 31 additions and 33 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue