Skip to content

Commit 8ab43f3

Browse files
committed
Removing use of reserved keyword 'static'
1 parent b5e8a60 commit 8ab43f3

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

v3/src/physics/matter-js/components/Friction.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
var Friction = {
22

3-
setFriction: function (value, air, static)
3+
setFriction: function (value, air, _static)
44
{
55
this.body.friction = value;
66

@@ -9,9 +9,9 @@ var Friction = {
99
this.body.frictionAir = air;
1010
}
1111

12-
if (static !== undefined)
12+
if (_static !== undefined)
1313
{
14-
this.body.frictionStatic = static;
14+
this.body.frictionStatic = _static;
1515
}
1616

1717
return this;

0 commit comments

Comments
 (0)