Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Remove some non-ASCII output.

  • Loading branch information...
commit b9f76684f2546dbbc00b7a64453e98e3b2711a13 1 parent b3794b9
@bard bard authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 chrome/content/repl.js
View
6 chrome/content/repl.js
@@ -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;
Please sign in to comment.
Something went wrong with that request. Please try again.