Permalink
Browse files

FIX: replaced represent function call with repl.represent (thanks Pet…

…er Schrammel)
  • Loading branch information...
1 parent d9efdd9 commit a009edff0a7f54cc22834083d4858044775101fd @rpl committed Feb 9, 2010
Showing with 3 additions and 3 deletions.
  1. +3 −3 chrome/content/repl.js
@@ -619,7 +619,7 @@ var javascriptInteractor = {
try {
var result = repl.evaluate(chunk);
if(this != undefined)
- repl.print(represent(result));
+ repl.print(repl.represent(result));
repl._prompt();
} catch(e) {
handleError(e);
@@ -635,7 +635,7 @@ var javascriptInteractor = {
try {
var result = repl.evaluate(this._inputBuffer);
if(result != undefined)
- repl.print(represent(result));
+ repl.print(repl.represent(result));
repl._prompt();
} catch(e) {
handleError(e);
@@ -647,7 +647,7 @@ var javascriptInteractor = {
try {
var result = repl.evaluate(this._inputBuffer);
if(result != undefined)
- repl.print(represent(result));
+ repl.print(repl.represent(result));
repl._prompt();
this._inputBuffer = '';
} catch(e if e.name == 'SyntaxError') {

0 comments on commit a009edf

Please sign in to comment.