mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-11-24 23:45:52 +00:00
More minor formatting.
This commit is contained in:
1 parent
a02c687df9
commit
eada36af26
2 files changed
+3
-3
No files matched your search
@@ -159,7 +159,7 @@ CFPropertyListSerializers[CFPropertyList.FormatXML_v1_0] =
|
||||
|
||||
"string": function(/*String*/ aString)
|
||||
{
|
||||
return "<string>" + encodeHTMLComponent(aString) + "</string>";;
|
||||
return "<string>" + encodeHTMLComponent(aString) + "</string>";
|
||||
},
|
||||
|
||||
"boolean" : function(/*Boolean*/ aBoolean)
|
||||
|
||||
@@ -53,7 +53,7 @@ var NSUnknownColorSpaceModel = -1,
|
||||
var rgb = [aCoder decodeBytesForKey:@"NSRGB"],
|
||||
string = CFData.bytesToString(rgb),
|
||||
components = [string componentsSeparatedByString:@" "],
|
||||
values = [0,0,0,1];
|
||||
values = [0, 0, 0, 1];
|
||||
|
||||
for (var i = 0; i < components.length && i < 4; i++)
|
||||
values[i] = [components[i] floatValue];
|
||||
@@ -67,7 +67,7 @@ var NSUnknownColorSpaceModel = -1,
|
||||
var bytes = [aCoder decodeBytesForKey:@"NSWhite"],
|
||||
string = CFData.bytesToString(bytes),
|
||||
components = [string componentsSeparatedByString:@" "],
|
||||
values = [0,1];
|
||||
values = [0, 1];
|
||||
|
||||
for (var i = 0; i < components.length && i < 2; i++)
|
||||
values[i] = [components[i] floatValue];
|
||||
|
||||
Reference in new issue
Block a user