Format object descriptions like object literals.

This change makes CPDictionary descriptions exactly like Objective-C literals. Later when Objective-J adds support for such literals too, it'll be possible to just copy and paste a CPDictionary description into code.

Also updated CPArray to look similar for consistency.
This commit is contained in:
Alexander Ljungberg
2013-01-26 12:01:20 +00:00
parent 237143851d
commit 75d73d3a5e
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -874,7 +874,7 @@ var concat = Array.prototype.concat,
{
var index = 0,
count = [self count],
description = "[";
description = "@[";
for (; index < count; ++index)
{