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

Keep references on modules #23

Closed ZorGleH closed 11 years ago

ZorGleH commented 11 years ago

It would be great to have a reference on modules in the domino instance. This way you don't need to store them outside domino. Maybe you can give an ID to each module so you can find it like so:

domino.instances('foo').modules('bar')
jacomyal commented 11 years ago

OK, that would be indeed pretty useful. I will implement it as for domino instances:

ZorGleH commented 11 years ago

Sounds good.