twitter / typeahead.js

typeahead.js is a fast and fully-featured autocomplete library
http://twitter.github.io/typeahead.js/
MIT License
16.52k stars 3.21k forks source link

Oscar Winners remote query example broken (404) #1404

Open jesperronn opened 8 years ago

jesperronn commented 8 years ago

At https://twitter.github.io/typeahead.js/examples/#remote

You need to type something longer which cannot retrieve 5 results from local prefetched data to see it.

I realize that the prefetch part works, but the remote part is broken. The query urls simply do not exist.

For instance, these:

However, some seems to work:

Suggestion for updating the gist: remove the remote. Example in cloned gist: https://gist.github.com/jesperronn/fc05bc6dbcd7f4badbe2

jesperronn commented 8 years ago

Hmm, on second thought, since this is a 'remote' example, we cannot remove the remote part.

Any suggestions on how to fix the remote querying?

jlbooker commented 8 years ago

@jesperronn I think the proper url for the french films is: https://raw.githubusercontent.com/twitter/typeahead.js/gh-pages/data/films/queries/fr.json

Check the gh-pages branch.

jlbooker commented 8 years ago

Also, looks like #1379 is a duplicate.