DCL

An elegant OOP with mixins + AOP for JavaScript.

Mixins

For programmer’s convenience dcl provides following general mixins:

  • Destroyable - mixin, which declares a chainable method destroy()
  • Cleanup - mixin, which builds on Destroyable and adds an API to manage a cleanup on destruction

Fork me on GitHub