maccman/spine — pull request #400 by dehlak (2012-12-18 11:30:41+00:00)
Title: Fixed a bug where the pathname would be used instead of the hash when history is not enabled

Fixed a bug where the pathname would be used instead of the hash when history is not enabled.

For example:

http://localsite.local/test/

this would cause spine to assume that /test/ is a route, even though history is disabled.

Changed code:

path = window.location.pathname

to

path = if @history then window.location.pathname else window.location.hash