Hacker News new | past | comments | ask | show | jobs | submit login

Um, ChaplinJS (an MVC framework built on backbone) http://chaplinjs.org has done this sort of thing for two years. You have views and subviews, and you listen for events with @delegate (which maps to $.on using view's container) in each of those views. You almost never need to use global events, in fact it discourages their use.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: