twitter/bootstrap — pull request #6853 by fsateler (2013-02-08 17:53:04+00:00)
Title: typeahead: do not store item data in an attribute

By using a data-value attribute, each item is forcefully
converted into a string. If the items are not simple values,
the resulting retrieval is useless at select time.

Storing it with the jQuery data function instead means the
object is stored without problems.

This is the same as #6741, rebased against the 3.0.0-wip branch