Fix weird else statement

This commit is contained in:
Twilrom 2017-11-14 13:12:58 +01:00
parent efae7f5796
commit 0770172664

View file

@ -171,9 +171,7 @@ function Class (definition)
// here since we only call this on class creation (i.e. not object creation). // here since we only call this on class creation (i.e. not object creation).
delete definition.initialize; delete definition.initialize;
} }
else else if (definition.Extends)
{
if (definition.Extends)
{ {
var base = definition.Extends; var base = definition.Extends;
@ -186,7 +184,6 @@ function Class (definition)
{ {
initialize = function () {}; initialize = function () {};
} }
}
if (definition.Extends) if (definition.Extends)
{ {