twitter/bootstrap — pull request #2323 by inolen (2012-02-29 00:23:39+00:00)
Title: Added to() support for carousel plugin's data api

While it's easy enough to support navigating to a specific slide by binding to click events, it seems that since prev()/next() are supported by the data attributes then so should to().