documentcloud/backbone — pull request #791 by mnichols (2011-12-15 21:24:39+00:00)
Title: Eventing

This patch (with test) adds a `navigate:{routeName}` to the Router which is triggered regardless of whether `{trigger:true}` is passed to `myRouter.navigate()` or not.

I needed a unified way to respond to changes in the url and since `route:{routeName}` is only fired when the callback is invoked (ie, when landing on the page or backbuttoning) there wasn't an easy way to do this.