Class.js
Class.js copied to clipboard
Simple and powerful utility to allow for the easy use of OOP in JS which includes inheritance, mixins, abstract classes, inherited statics, and more.
To support some more advanced frameworks in class hierarchies. For example, something very similar to the following situation arose for a `Task` class in my work one day: ``` javascript...
So that Class.js can discover and notify the programmer about orphaned override methods, such as hook methods that are no longer going to be called.
Probably use `singleton: true`. Also store a reference to the original class as a property on the singleton instance, so that it can be extended or instantiated differently for unit...