[debugger] use newly added `eval` argument for REPLServer

pull/22966/head
Fedor Indutny 2011-09-07 23:36:26 +07:00
parent 0d4dc3a8b5
commit 77eb8eabe2
1 changed files with 2 additions and 2 deletions

View File

@ -640,8 +640,8 @@ function Interface() {
self.killChild();
});
this.repl = new repl.REPLServer('debug> ');
this.repl.eval = this.controlEval.bind(this);
this.repl = new repl.REPLServer('debug> ', null,
this.controlEval.bind(this));
// Lift all instance methods to repl context
var proto = Interface.prototype,