mirror of
https://github.com/photonstorm/phaser
synced 2024-11-30 16:39:34 +00:00
Merge pull request #3117 from Twilrom/static
Removing use of reserved keyword 'static'
This commit is contained in:
commit
cb9506c00b
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…
Reference in a new issue