Permalink
Browse files

Remove some non-ASCII output.

  • Loading branch information...
bard committed Nov 19, 2011
1 parent b3794b9 commit b9f76684f2546dbbc00b7a64453e98e3b2711a13
Showing with 3 additions and 3 deletions.
  1. +3 −3 chrome/content/repl.js
View
@@ -166,14 +166,14 @@ function represent(thing) {
s = thing;
if(names.length > 0) {
- s += ' {';
+ s += ' - {';
s += names.slice(0, 7).map(function(n) {
var repr = n + ': ';
try {
if(thing[n] === null)
repr += 'null';
else if(typeof(thing[n]) == 'object')
- repr += '{}';
+ repr += '{...}';
else
repr += represent(thing[n]);
} catch(e) {
@@ -187,7 +187,7 @@ function represent(thing) {
}
break;
case 'function':
- s = 'function() {}';
+ s = 'function() {...}';
break;
default:
s = thing;

0 comments on commit b9f7668

Please sign in to comment.