Shopify/batman — pull request #196 by jamesmacaulay (2011-10-25 22:52:11+00:00)
Title: Batman.StateHistory for pushState-based navigation

This patch makes batman use pushState by default if it's available, instead of hashbang navigation.

The main thing you need to know to keep your app working: set `Batman.pathPrefix` to wherever the root path of your batman app is. E.g. if your app lives at `/admin`, then set `Batman.pathPrefix = "/admin"`.

Still to come: automatically redirecting between StateHistory and HashHistory paths, for people sending links to each other when only one of them is using StateHistory.