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).
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)
{