Skip to content

Instantly share code, notes, and snippets.

@ThisIsMissEm
Created December 6, 2009 14:19
Show Gist options
  • Save ThisIsMissEm/250239 to your computer and use it in GitHub Desktop.
Save ThisIsMissEm/250239 to your computer and use it in GitHub Desktop.
diff --git a/lib/sys.js b/lib/sys.js
index 9c4dc6d..827f81d 100644
--- a/lib/sys.js
+++ b/lib/sys.js
@@ -98,7 +98,7 @@ var formatter = function(value, indent, parents) {
});
} else {
return formatObject(value, indent, parents, '{}', function(x, f) {
- return f(x) + ': ' + f(value[x]);
+ return x + ': ' + f(value[x]);
});
}
return buffer;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment