mirror of
https://github.com/photonstorm/phaser
synced 2024-11-26 22:52:14 +00:00
jshint fixes.
This commit is contained in:
parent
63a1336bd5
commit
a81fe3cf02
2 changed files with 5 additions and 2 deletions
|
@ -403,7 +403,7 @@ Phaser.Text.prototype.updateText = function () {
|
|||
{
|
||||
lineWidth += this.measureLine(lines[i]);
|
||||
}
|
||||
else
|
||||
else
|
||||
{
|
||||
lineWidth += this.context.measureText(lines[i]).width;
|
||||
}
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue