diff options
author | Sigmund Vik <sigmund_vik@yahoo.com> | 2012-03-20 14:02:54 +0100 |
---|---|---|
committer | Sigmund Vik <sigmund_vik@yahoo.com> | 2012-03-20 14:02:54 +0100 |
commit | be2dafadec0e5a39e3e55a3663183ca6a8dd5d8e (patch) | |
tree | bb59c2d045a37a6c76dbf5a3e3586244c306f8e1 | |
parent | fbb596d277b167e6cd6391474c53ecbe174701bf (diff) |
Coffee-script fix for new node.js
This has already been fixed upstream, so maybe a better fix is to pull
in the latest version of coffee-script.
For more details, please see:
https://github.com/jashkenas/coffee-script/pull/1807
-rw-r--r-- | tools/eliminator/node_modules/coffee-script/lib/command.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/eliminator/node_modules/coffee-script/lib/command.js b/tools/eliminator/node_modules/coffee-script/lib/command.js index ca255020..39813201 100644 --- a/tools/eliminator/node_modules/coffee-script/lib/command.js +++ b/tools/eliminator/node_modules/coffee-script/lib/command.js @@ -12,7 +12,7 @@ return process.stdout.write(line + '\n'); }; printWarn = function(line) { - return process.binding('stdio').writeError(line + '\n'); + return process.stderr.write(line + '\n'); }; BANNER = 'Usage: coffee [options] path/to/script.coffee'; SWITCHES = [['-c', '--compile', 'compile to JavaScript and save as .js files'], ['-i', '--interactive', 'run an interactive CoffeeScript REPL'], ['-o', '--output [DIR]', 'set the directory for compiled JavaScript'], ['-j', '--join [FILE]', 'concatenate the scripts before compiling'], ['-w', '--watch', 'watch scripts for changes, and recompile'], ['-p', '--print', 'print the compiled JavaScript to stdout'], ['-l', '--lint', 'pipe the compiled JavaScript through JavaScript Lint'], ['-s', '--stdio', 'listen for and compile scripts over stdio'], ['-e', '--eval', 'compile a string from the command line'], ['-r', '--require [FILE*]', 'require a library before executing your script'], ['-b', '--bare', 'compile without the top-level function wrapper'], ['-t', '--tokens', 'print the tokens that the lexer produces'], ['-n', '--nodes', 'print the parse tree that Jison produces'], ['--nodejs [ARGS]', 'pass options through to the "node" binary'], ['-v', '--version', 'display CoffeeScript version'], ['-h', '--help', 'display this help message']]; |