mirror of
https://github.com/photonstorm/phaser
synced 2024-11-24 13:43:26 +00:00
Fix weird else statement
This commit is contained in:
parent
efae7f5796
commit
0770172664
1 changed files with 13 additions and 16 deletions
|
@ -171,9 +171,7 @@ function Class (definition)
|
|||
// here since we only call this on class creation (i.e. not object creation).
|
||||
delete definition.initialize;
|
||||
}
|
||||
else
|
||||
{
|
||||
if (definition.Extends)
|
||||
else if (definition.Extends)
|
||||
{
|
||||
var base = definition.Extends;
|
||||
|
||||
|
@ -186,7 +184,6 @@ function Class (definition)
|
|||
{
|
||||
initialize = function () {};
|
||||
}
|
||||
}
|
||||
|
||||
if (definition.Extends)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue