twitter/bootstrap — pull request #1983 by dyve (2012-02-15 07:47:43+00:00)
Title: Basic remote JSON typeahead

I implemented the bare minimum extra, based on experience with my jquery autocompleter (https://github.com/dyve/jquery-autocomplete).

You can test this with this init:

$(".typeahead").typeahead({
source: "falcons.json.html"
});

and a simple datasource like this falcons.json.html:

[
"Merlin",
"Gyr Falcon",
"Lanner Falcon",
"Hobby",
"Kestrel"
]