Closed DominikGuzei closed 8 years ago
This PR fixes / improves the way mixins are applied to classes and ensures that:
Additionally i added the following convenient helpers to Space.Object: static
Space.Object
MyClass.hasSuperClass()
MyClass.superClass([key])
MyClass.subClasses()
prototype
myInstance.hasSuperClass()
myInstance.superClass([key])
This also fixes #69
:100: :100: :100: :100: :100: :100: :100: :100: :100: :100:
This PR fixes / improves the way mixins are applied to classes and ensures that:
Additionally i added the following convenient helpers to
Space.Object
: staticMyClass.hasSuperClass()
MyClass.superClass([key])
- either returns the super class constructor or static property / methodMyClass.subClasses()
- returns flat array of all sub classesprototype
myInstance.hasSuperClass()
myInstance.superClass([key])
- same as static version but returns prototype props / methodsThis also fixes #69