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()
}
Written by David Morrow
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Backbone
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#