Backbone.History documentation
In short, the documentation for Backbone.History has lots of examples like:
Backbone.history.start([options])Backbone.history.start({pushState: true, root: "/public/search/"})
In all of these, Backbone.history.start should be Backbone.History.start.
I'm actually not really sure of this bug. I think I'm doing something wrong...
Right. Backbone.history is the name of the global instance ... Backbone.History is the name of the History class. The docs are correct. I agree that it's totally confusing.
Its not clear that Backbone.history only becomes available once you instantiate at least one controller
It isn't? To quote:
"During page load, after your application has finished creating all of its routers, be sure to call Backbone.history.start(), or Backbone.history.start({pushState: true}) to route the initial URL."
And later...
"When all of your Routers have been created, and all of the routes are set up properly, call Backbone.history.start() to begin monitoring hashchange events, and dispatching routes."
I would say the more key part of the documentation is this:
"History serves as a global router (per frame) to handle hashchange events or pushState, match the appropriate route, and trigger callbacks. You shouldn't ever have to create one of these yourself — you should use the reference to Backbone.history that will be created for you automatically _if you make use of Routers with routes."_
That's the part that I apparently read, but did not remember.
IMO I would replace created for instantiated :)