jacomyal / domino.js

[deprecated] A JavaScript cascading controller for fast interactive Web interfaces prototyping.
https://jacomyal.github.io/domino.js
MIT License
54 stars 7 forks source link

domino.module inheritance fix #51

Closed jacomyal closed 10 years ago

jacomyal commented 10 years ago

The code domino.module.call(this); should not be necessary: Since the controller will call the child module constructor, it can directly call it on a new domino.module instead of a new empty object.

Of course, if domino.module.call(this); is still there, the module must stay valid.