documentcloud/backbone — pull request #813 by rockymeza (2011-12-24 06:27:50+00:00)
Title: option to have pushState but no hashchange

I wrote this recently, and then I saw issue #803. I think this is an applicable solution. It doesn't provide a separate option to turn off hashchange without enabling pushState as discussed in the issue, but I'm not sure if anybody would ever disable both.

## To use.
If you want pushState in browsers that support it and regular page loads in older browsers, pass the `pushStateOrBust` to `Backbone.history.start`.

## Notes.
I think the name `pushStateOrBust` is a bad name, but I couldn't think up a better one. Feel free to change it.