{"comment":{"created_at":"2011-10-17T10:41:02Z","body":"The resolution is a closed pull request that wasn't merged? The plugin wiki page doesn't have any router plugins.\r\n\r\nWhat's wrong with triggering a route event along with the router:xxx events? It would match the behaviour of events elsewhere, e.g. change and change:xxx.\r\n\r\n@deleteme's monkey patch triggers the event on the history object, instead of the router (which already inherits Backbone.Events), where the other route events are triggered.\r\n\r\nAs for usecases: Whenever something needs to happen for all routes, decoupled from the actual handlers ala route:xxx events. Like cleaning up existing views.","updated_at":"2011-10-17T10:41:02Z","url":"https://api.github.com/repos/documentcloud/backbone/issues/comments/2427279","id":2427279,"user":{"gravatar_id":"a9d4d2558b560b0ef168ced0f6c5198c","avatar_url":"https://secure.gravatar.com/avatar/a9d4d2558b560b0ef168ced0f6c5198c?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/jzaefferer","id":52585,"login":"jzaefferer"}},"action":"created","issue":{"number":419,"created_at":"2011-06-14T23:47:54Z","pull_request":{"diff_url":null,"patch_url":null,"html_url":null},"body":"As far as I can tell there is no generic mechanism to receive an event when any routing changes occur.\r\n\r\nThe ability to do something like:\r\nBackbone.history.bind(\"route\", function....\r\nwould make quite a few things easier to manager when dealing with multiple controller objects.","comments":12,"title":"Global routing event would be useful","updated_at":"2011-10-17T10:41:02Z","url":"https://api.github.com/repos/documentcloud/backbone/issues/419","id":1058398,"assignee":null,"milestone":null,"closed_at":"2011-09-14T21:24:08Z","user":{"gravatar_id":"1b25e7123a2d0addc393a5d0d4070273","avatar_url":"https://secure.gravatar.com/avatar/1b25e7123a2d0addc393a5d0d4070273?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/kpdecker","id":196390,"login":"kpdecker"},"html_url":"https://github.com/documentcloud/backbone/issues/419","labels":[{"name":"enhancement","url":"https://api.github.com/repos/documentcloud/backbone/labels/enhancement","color":"61b1e6"},{"name":"wontfix","url":"https://api.github.com/repos/documentcloud/backbone/labels/wontfix","color":"ffffff"}],"state":"closed"},"legacy":{"issue_id":1058398,"comment_id":2427279}}