twitter/bootstrap — pull request #1433 by markwillis82 (2012-01-30 16:03:38+00:00)
Title: [2.0-wip] Added a dynamic source to typeahead, also updated docs + added unit test

I have added modified the lookup function to allow "source" to be a function (passing a query parameter) to allow dynamic a item array.

Also updated docs + added a unit test.

This addresses my own issue with typeahead and also issue 1336