Object description formatting

- Made CPDescriptionOfObject smarter about detecting CG objects
- CPObject, CPArray, CPDictionary do a better (as in perfect) job of indenting nested objects
- CPDictionary is displayed using Cocoa-style key = value; notation
This commit is contained in:
Aparajita Fishman committed 2013-01-25 19:19:01 +08:00
1 parent 2d34d458f4
commit 95790d55d5
6 files changed
+60 -59

No files matched your search

+1
View File
@@ -33,6 +33,7 @@ function CGGradientCreateWithColorComponents(aColorSpace, components, locations,
{
var num_of_colors = components.length / 4,
locations = [];
for (var idx = 0; idx < num_of_colors; idx++)
locations.push( idx / (num_of_colors - 1) );
}