From 77eb8eabe2e554f8fa85b75316e75c80eaf303fd Mon Sep 17 00:00:00 2001 From: Fedor Indutny Date: Wed, 7 Sep 2011 23:36:26 +0700 Subject: [PATCH] [debugger] use newly added `eval` argument for REPLServer --- lib/_debugger.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/_debugger.js b/lib/_debugger.js index 59f5a7a4126..63dc36a10f3 100644 --- a/lib/_debugger.js +++ b/lib/_debugger.js @@ -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,