Skip to content

Instantly share code, notes, and snippets.

@kpdecker
Created April 20, 2014 23:36
Show Gist options
  • Save kpdecker/11128125 to your computer and use it in GitHub Desktop.
Save kpdecker/11128125 to your computer and use it in GitHub Desktop.
Hack for backbone router start requirement in Thorax
Backbone.history = new Backbone.History();
// Preload the root value so getFragment does not blow up prior to start being called
Backbone.history.root = '/';
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment