twitter/bootstrap — pull request #3013 by devth (2012-04-10 22:44:40+00:00)
Title: ScrollSpy should work with pushState urls instead of hashes

I've added a simple implementation. Allows the use of `data-target` attributes in place of hash urls.

Scrollspy

now works the same as

Scrollspy

It gives `data-target` priority over `href` when present, so `href` can point to anything.