Open mulderp opened 11 years ago
Sure, though I wouldn't necessarily recommend coupling Router events to EventBroker events, and vice-versa. The two should remain mutually exclusive; a cleaner way to facilitate this would be to simply have the Router handle its events and forward them to corresponding EventBroker events, effectively fulfilling the use-case, while allowing the two to remain independent of one another, with only the Router having knowledge of the EventBroker.
I am exploring Backbone frameworks, and I saw something in Giraffe that looks interesting to me:
Could events coming from URL changes automatically be translated into events of the EventBus?
PS I think the example is broken, I get a $ undefined