Skip to content

Commit a2aa987

Browse files
committed
jshint fixes
1 parent d37fdd4 commit a2aa987

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

src/tilemap/Tilemap.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -449,16 +449,16 @@ Phaser.Tilemap.prototype = {
449449
layer = this.getLayer(layer);
450450

451451
if (typeof group === 'undefined') { group = this.game.world; }
452-
if (typeof properties === 'undefined') { properties = {} };
452+
if (typeof properties === 'undefined') { properties = {}; }
453453

454454
if (properties.customClass === undefined)
455455
{
456-
properties.customClass = Phaser.Sprite;
456+
properties.customClass = Phaser.Sprite;
457457
}
458458

459459
if (properties.adjustY === undefined)
460460
{
461-
properties.adjustY = true;
461+
properties.adjustY = true;
462462
}
463463

464464
var lw = this.layers[layer].width;
@@ -1477,7 +1477,7 @@ Phaser.Tilemap.prototype = {
14771477
* @param {integer|string|Phaser.TilemapLayer} [layer] - The layer to copy the tiles from.
14781478
* @return {array} An array of the tiles that were copied.
14791479
*/
1480-
copy: function (x, y, width, height, layer, indexes) {
1480+
copy: function (x, y, width, height, layer) {
14811481

14821482
layer = this.getLayer(layer);
14831483

0 commit comments

Comments
 (0)