documentcloud/backbone — pull request #1505 by jrolfs (2012-07-26 16:26:08+00:00)
Title: When root option omits traling slash, Backbone.History.navigate and Backbone.History.start set URL with a slash between the root and route fragment when using pushState

When the root option on `Backbone.History` omits a trailing slash, e.g: `/root`, the URL being pushed did not include a slash between the root fragment and route fragment so the result URL would look like `/rootfragment`. This patch fixes that case in both `navigate()` and `start()` (when changing URL from a hashed URL) so that the URL looks like `/root/fragment`.

This is related to [#1414](https://github.com/documentcloud/backbone/pull/1414).