make it possible to do repl.start('', stream)

v0.7.4-release
Wade Simmons 2011-04-13 17:54:50 -06:00 committed by isaacs
parent 90802d628d
commit d00739ce56
1 changed files with 1 additions and 1 deletions

View File

@ -93,7 +93,7 @@ function REPLServer(prompt, stream) {
process.stdin.resume(); process.stdin.resume();
} }
self.prompt = prompt || '> '; self.prompt = (prompt != undefined ? prompt : '> ');
function complete(text) { function complete(text) {
return self.complete(text); return self.complete(text);