Skip to content

Commit

Permalink
minor jshint fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
englercj committed Apr 14, 2015
1 parent 6e0e0cf commit 793f279
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/tiled/Tilelayer.js
Original file line number Diff line number Diff line change
Expand Up @@ -512,7 +512,7 @@ Tilelayer.prototype.getTiles = function (x, y, width, height, collides, interest
};

Tilelayer.prototype.getTile = function (x, y) {
return this.tiles[wy] && this.tiles[wy][wx]
return this.tiles[y] && this.tiles[y][x];
};

/**
Expand Down
2 changes: 1 addition & 1 deletion src/tiled/Tileset.js
Original file line number Diff line number Diff line change
Expand Up @@ -372,7 +372,7 @@ Tileset.prototype.destroy = function () {
this.size = null;
this.textures = null;
this.tileanimations = null;
}
};

/**
* Tileset GID flags, these flags are set on a tile's ID to give it a special property
Expand Down

0 comments on commit 793f279

Please sign in to comment.