0
0
Fork 0
mirror of https://github.com/liabru/matter-js.git synced 2024-11-27 09:50:52 -05:00

Fix for travis

This commit is contained in:
Richard Foligno 2015-03-03 19:50:47 -05:00
parent d585e80b5b
commit 05f1c46255
3 changed files with 3 additions and 3 deletions

View file

@ -5115,7 +5115,7 @@ var Sleeping = {};
motion = body.speed * body.speed + body.angularSpeed * body.angularSpeed; motion = body.speed * body.speed + body.angularSpeed * body.angularSpeed;
// wake up bodies if they have a force applied // wake up bodies if they have a force applied
if (body.force.x != 0 || body.force.y != 0) { if (body.force.x !== 0 || body.force.y !== 0) {
Sleeping.set(body, false); Sleeping.set(body, false);
continue; continue;
} }

2
build/matter.min.js vendored

File diff suppressed because one or more lines are too long

View file

@ -27,7 +27,7 @@ var Sleeping = {};
motion = body.speed * body.speed + body.angularSpeed * body.angularSpeed; motion = body.speed * body.speed + body.angularSpeed * body.angularSpeed;
// wake up bodies if they have a force applied // wake up bodies if they have a force applied
if (body.force.x != 0 || body.force.y != 0) { if (body.force.x !== 0 || body.force.y !== 0) {
Sleeping.set(body, false); Sleeping.set(body, false);
continue; continue;
} }