Skip to content

Commit 5f267ba

Browse files
author
Christian Wesselhoeft
committed
Fix jshint issues in src/physics/arcade
1 parent 0b08877 commit 5f267ba

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

src/physics/arcade/Body.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -747,7 +747,7 @@ Phaser.Physics.Arcade.Body.render = function (context, body, filled, color) {
747747
context.strokeRect(body.position.x - body.game.camera.x, body.position.y - body.game.camera.y, body.width, body.height);
748748
}
749749

750-
}
750+
};
751751

752752
/**
753753
* Render Sprite Body Physics Data as text.
@@ -768,6 +768,6 @@ Phaser.Physics.Arcade.Body.renderBodyInfo = function (debug, body) {
768768
debug.line('touching left: ' + body.touching.left, 'right: ' + body.touching.right, 'up: ' + body.touching.up, 'down: ' + body.touching.down);
769769
debug.line('blocked left: ' + body.blocked.left, 'right: ' + body.blocked.right, 'up: ' + body.blocked.up, 'down: ' + body.blocked.down);
770770

771-
}
771+
};
772772

773773
Phaser.Physics.Arcade.Body.prototype.constructor = Phaser.Physics.Arcade.Body;

src/physics/arcade/World.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1280,7 +1280,7 @@ Phaser.Physics.Arcade.prototype = {
12801280
* @param {Phaser.Physics.Arcade.Body} body - The Body object to separate.
12811281
* @param {number} y - The y separation amount.
12821282
*/
1283-
processTileSeparationY: function (body, y, tile) {
1283+
processTileSeparationY: function (body, y) {
12841284

12851285
if (y < 0)
12861286
{

0 commit comments

Comments
 (0)