twitter bootstrap typeahead 2.0.4 ajax error
- by Adam Levitt
I have the following code which definitely returns a proper data result if I use the 2.0.0 version, but for some reason bootstrap's typeahead plugin is giving me an error. I pasted it below the code sample:
<input id="test" type="text" />
$('#test').typeahead({
source: function(typeahead, query) {
return…