jshint fixes.

This commit is contained in:
photonstorm 2016-06-02 15:38:05 +01:00
parent 63a1336bd5
commit a81fe3cf02
2 changed files with 5 additions and 2 deletions

View file

@ -403,7 +403,7 @@ Phaser.Text.prototype.updateText = function () {
{
lineWidth += this.measureLine(lines[i]);
}
else
else
{
lineWidth += this.context.measureText(lines[i]).width;
}

View file

@ -986,7 +986,10 @@ Phaser.Physics.Arcade.prototype = {
*/
intersects: function (body1, body2) {
if (body1 === body2) return false;
if (body1 === body2)
{
return false;
}
// Rect vs. Rect
if (body1.right <= body2.position.x)