More minor formatting.

This commit is contained in:
Alexander Ljungberg committed 2012-03-12 21:01:27 +00:00
1 parent a02c687df9
commit eada36af26
2 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -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)
+2 -2
View File
@@ -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];