Javascript off-DOM object events and event bubbling
<p>Does anyone know of either a library or a pattern I can use to implement events and event bubbling in a javascript object graph without going through the DOM?</p>

<p>In short, I have an instance of a class that contains instances of other classes and I want to trigger events from the subclasses that can bubble up the graph/chain.</p>

<p>Any suggestions?</p>
