0
0
Fork 0
mirror of https://github.com/liabru/matter-js.git synced 2025-01-12 16:08:50 -05:00

linted code

This commit is contained in:
Brice Chevalier 2017-11-24 10:54:52 +09:00
parent 6931276cab
commit 235cb2d8bc

View file

@ -56,7 +56,7 @@ module.exports = Pair;
if (collision.collided) { if (collision.collided) {
var supports = collision.supports, var supports = collision.supports,
activeContacts = pair.activeContacts; activeContacts = pair.activeContacts,
parentA = collision.parentA, parentA = collision.parentA,
parentB = collision.parentB; parentB = collision.parentB;
@ -74,7 +74,7 @@ module.exports = Pair;
// Most likely unnecessary // Most likely unnecessary
var supportCount = supports.length; var supportCount = supports.length;
if (supportCount < activeContacts.length) { if (supportCount < activeContacts.length) {
activeContacts.length = supportCount; activeContacts.length = supportCount;
} }
pair.separation = collision.depth; pair.separation = collision.depth;