mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-10-10 10:42:19 +00:00
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:
1 parent
2d34d458f4
commit
95790d55d5
6 files changed
+60
-59
No files matched your search
@@ -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) );
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user