vlu8rw
Last Updated: February 25, 2016
·
1.205K
· dperrymorrow
37b092a324da25d53fd63d780692b174

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()
}
Say Thanks
Respond