mirror of
https://github.com/photonstorm/phaser
synced 2024-11-16 09:48:18 +00:00
jshint fixes
This commit is contained in:
parent
d37fdd4217
commit
a2aa987920
1 changed files with 4 additions and 4 deletions
|
@ -449,16 +449,16 @@ Phaser.Tilemap.prototype = {
|
|||
layer = this.getLayer(layer);
|
||||
|
||||
if (typeof group === 'undefined') { group = this.game.world; }
|
||||
if (typeof properties === 'undefined') { properties = {} };
|
||||
if (typeof properties === 'undefined') { properties = {}; }
|
||||
|
||||
if (properties.customClass === undefined)
|
||||
{
|
||||
properties.customClass = Phaser.Sprite;
|
||||
properties.customClass = Phaser.Sprite;
|
||||
}
|
||||
|
||||
if (properties.adjustY === undefined)
|
||||
{
|
||||
properties.adjustY = true;
|
||||
properties.adjustY = true;
|
||||
}
|
||||
|
||||
var lw = this.layers[layer].width;
|
||||
|
@ -1477,7 +1477,7 @@ Phaser.Tilemap.prototype = {
|
|||
* @param {integer|string|Phaser.TilemapLayer} [layer] - The layer to copy the tiles from.
|
||||
* @return {array} An array of the tiles that were copied.
|
||||
*/
|
||||
copy: function (x, y, width, height, layer, indexes) {
|
||||
copy: function (x, y, width, height, layer) {
|
||||
|
||||
layer = this.getLayer(layer);
|
||||
|
||||
|
|
Loading…
Reference in a new issue