mirror of
https://github.com/photonstorm/phaser
synced 2025-02-17 14:38:30 +00:00
Removing use of reserved keyword 'static'
This commit is contained in:
parent
b5e8a60530
commit
8ab43f35d2
1 changed files with 3 additions and 3 deletions
|
@ -1,6 +1,6 @@
|
|||
var Friction = {
|
||||
|
||||
setFriction: function (value, air, static)
|
||||
setFriction: function (value, air, _static)
|
||||
{
|
||||
this.body.friction = value;
|
||||
|
||||
|
@ -9,9 +9,9 @@ var Friction = {
|
|||
this.body.frictionAir = air;
|
||||
}
|
||||
|
||||
if (static !== undefined)
|
||||
if (_static !== undefined)
|
||||
{
|
||||
this.body.frictionStatic = static;
|
||||
this.body.frictionStatic = _static;
|
||||
}
|
||||
|
||||
return this;
|
||||
|
|
Loading…
Add table
Reference in a new issue