In previous versions I could do:
$('#search').typeahead({
name: 'Search',
remote: '/search?query=%QUERY'
});
But since the 0.10
update, typeahead.js is asking us to define source
which I cannot make to work. How do I define remote without having to define a dataset function?