arturadib / agility

Javascript MVC for the "write less, do more" programmer
http://agilityjs.com
MIT License
542 stars 70 forks source link

Document 'child:' events #88

Open tlack opened 12 years ago

tlack commented 12 years ago

It seems that Agility has the undocumented ability to bubble events up the object tree if the parent listens for 'child:' events.

Here's the code that makes it happen:

https://github.com/arturadib/agility/blob/master/agility.js#L316

Is this documented? I didn't come across it until reading the code just now. Perhaps I missed it?

pindia commented 12 years ago

This is a super-new feature. It's documented in the master branch (see 3190ce9), but must not have made it to the live documentation site yet.