twitter/bootstrap — pull request #4979 by avalla (2012-09-05 08:25:58+00:00)
Title: Fix 4950

Fix for issue 4950.
The typeahead fails when the source collection contains a null item.

Suggested fix:
When the matcher function checks the item, if the item is null it returns 0 so it doesn't match.