Updating all files to adhere to the JSHint settings and fixing lots of documentation errors on the way.

This commit is contained in:
photonstorm
2013-11-25 03:13:04 +00:00
parent 373b97648d
commit 13a2cc2feb
68 changed files with 4622 additions and 4628 deletions
+3 -3
View File
@@ -34,7 +34,7 @@ Phaser.TilemapParser = {
}
// Zero or smaller than tile sizes?
if (width == 0 || height == 0 || width < tileWidth || height < tileHeight || total === 0)
if (width === 0 || height === 0 || width < tileWidth || height < tileHeight || total === 0)
{
console.warn("Phaser.TilemapParser.tileSet: width/height zero or width/height < given tileWidth/tileHeight");
return null;
@@ -103,7 +103,7 @@ Phaser.TilemapParser = {
output[i][c] = parseInt(column[c]);
}
if (width == 0)
if (width === 0)
{
width = column.length;
}
@@ -155,7 +155,7 @@ Phaser.TilemapParser = {
for (var t = 0; t < json.layers[i].data.length; t++)
{
if (c == 0)
if (c === 0)
{
row = [];
}