[debugger] use newly added eval argument for REPLServer

This commit is contained in:
Fedor Indutny
2011-09-07 23:36:26 +07:00
parent 0d4dc3a8b5
commit 77eb8eabe2

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,