mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-11-16 03:30:42 +00:00
Trailing comma fix.
Reviewed by me.
This commit is contained in:
1 parent
d735cd98e7
commit
0bcf8a6626
4 files changed
+35
-37
No files matched your search
@@ -18,7 +18,7 @@ CFDictionary.prototype.copy = function()
|
||||
|
||||
CFDictionary.prototype.mutableCopy = function()
|
||||
{
|
||||
var newDictionary = new MutableDictionary(),
|
||||
var newDictionary = new CFMutableDictionary(),
|
||||
keys = this._keys,
|
||||
count = this._count;
|
||||
|
||||
|
||||
@@ -223,7 +223,7 @@ CFPropertyListSerializers[CFPropertyList.Format280North_v1_0] =
|
||||
return string + END_MARKER + ';';
|
||||
},
|
||||
|
||||
"dictionary": function(/*Dictionary*/ aDictionary, /*Object*/ serializers)
|
||||
"dictionary": function(/*CFDictionary*/ aDictionary, /*Object*/ serializers)
|
||||
{
|
||||
var keys = aDictionary._keys,
|
||||
index = 0,
|
||||
@@ -420,7 +420,7 @@ function propertyListFrom280NorthString(/*String*/ aString)
|
||||
case FALSE_MARKER: object = false;
|
||||
break;
|
||||
|
||||
default: objj_exception_throw(new objj_exception(OBJJPlistParseException, "*** " + marker + " marker not recognized in Plist."));
|
||||
default: throw new Error("*** " + marker + " marker not recognized in Plist.");
|
||||
}
|
||||
|
||||
if (!plistObject)
|
||||
|
||||
+32
-32
@@ -60,35 +60,35 @@ var NO = false,
|
||||
SQRT1_2 = Math.SQRT1_2,
|
||||
SQRT2 = Math.SQRT2;
|
||||
|
||||
global.NO = NO;
|
||||
global.YES = YES;
|
||||
global.nil = nil;
|
||||
global.Nil = Nil;
|
||||
global.NULL = NULL;
|
||||
global.ABS = ABS;
|
||||
global.ASIN = ASIN;
|
||||
global.ACOS = ACOS;
|
||||
global.ATAN = ATAN;
|
||||
global.ATAN2 = ATAN2;
|
||||
global.SIN = SIN;
|
||||
global.COS = COS;
|
||||
global.TAN = TAN;
|
||||
global.EXP = EXP;
|
||||
global.POW = POW;
|
||||
global.CEIL = CEIL;
|
||||
global.FLOOR = FLOOR;
|
||||
global.ROUND = ROUND;
|
||||
global.MIN = MIN;
|
||||
global.MAX = MAX;
|
||||
global.RAND = RAND;
|
||||
global.SQRT = SQRT;
|
||||
global.E = E;
|
||||
global.LN2 = LN2;
|
||||
global.LN10 = LN10;
|
||||
global.LOG2E = LOG2E;
|
||||
global.LOG10E = LOG10E;
|
||||
global.PI = PI;
|
||||
global.PI2 = PI * 2.0,
|
||||
global.PI_2 = PI / 2.0,
|
||||
global.SQRT1_2 = SQRT1_2,
|
||||
global.SQRT2 = SQRT2;
|
||||
exports.NO = NO;
|
||||
exports.YES = YES;
|
||||
exports.nil = nil;
|
||||
exports.Nil = Nil;
|
||||
exports.NULL = NULL;
|
||||
exports.ABS = ABS;
|
||||
exports.ASIN = ASIN;
|
||||
exports.ACOS = ACOS;
|
||||
exports.ATAN = ATAN;
|
||||
exports.ATAN2 = ATAN2;
|
||||
exports.SIN = SIN;
|
||||
exports.COS = COS;
|
||||
exports.TAN = TAN;
|
||||
exports.EXP = EXP;
|
||||
exports.POW = POW;
|
||||
exports.CEIL = CEIL;
|
||||
exports.FLOOR = FLOOR;
|
||||
exports.ROUND = ROUND;
|
||||
exports.MIN = MIN;
|
||||
exports.MAX = MAX;
|
||||
exports.RAND = RAND;
|
||||
exports.SQRT = SQRT;
|
||||
exports.E = E;
|
||||
exports.LN2 = LN2;
|
||||
exports.LN10 = LN10;
|
||||
exports.LOG2E = LOG2E;
|
||||
exports.LOG10E = LOG10E;
|
||||
exports.PI = PI;
|
||||
exports.PI2 = PI * 2.0;
|
||||
exports.PI_2 = PI / 2.0;
|
||||
exports.SQRT1_2 = SQRT1_2;
|
||||
exports.SQRT2 = SQRT2;
|
||||
@@ -278,7 +278,6 @@ function resolvePathComponents(/*StaticResourceNode*/ startNode, /*Type*/aType,
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
else if (childNode.isResolved())
|
||||
{
|
||||
// If we've already determined that this file doesn't exist...
|
||||
@@ -295,7 +294,6 @@ function resolvePathComponents(/*StaticResourceNode*/ startNode, /*Type*/aType,
|
||||
|
||||
// Do nothing: simply allow the loop to progress to the next child.
|
||||
}
|
||||
|
||||
// If this node is still being resolved, just wait and rerun this same method when it's ready.
|
||||
else
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user