DCL

An elegant OOP with mixins + AOP for JavaScript.

Bases

For programmer’s convenience dcl provides following general base “classes”:

  • Mixer“class”, which constructor mixes an object (its only argument) in its instance
  • Replacer“class”, which constructor mixes an object (its only argument) in its instance by replacing existing properties; all non-existing properties will be ignored
Fork me on GitHub