ModelN/backbone.geppetto — pull request #62 by mmikeyy (2014-09-05 00:39:33+00:00)
Title: Dispatch to parents

Ok, here is the bubbling dispatchToParents method, with tests.
Took the liberty to add a little feature: stopPropagation set to true in payload by any ancestor stops further bubbling. If one ancestor needs to catch the event and do the job, why bother its ancestors (and waste time) with useless triggers?

Cool feature is that since the same object is passed along as payload, data can easily be sent back to issuer or shared between ancestors. Feel free to improve or to let me know if I missed something.