Last Updated: February 25, 2016
·
1.526K
· david morrow

Backbone.history.start already started error

So you have multiple backbone routers, which one started the Backbone.history? Will you get an error when you try to start it again? If it is started how can you get it to respect an existing hash url on page load?

Here you go...

try {
  Backbone.history.start()
} catch(err) {
  Backbone.history.loadUrl()
}