Skip to content

Instantly share code, notes, and snippets.

@jharding
Last active May 16, 2019 11:43
Show Gist options
  • Save jharding/5026714 to your computer and use it in GitHub Desktop.
Save jharding/5026714 to your computer and use it in GitHub Desktop.
$('.example-films .typeahead').typeahead([
{
name: 'best-picture-winners',
remote: '../data/films/queries/%QUERY.json',
prefetch: '../data/films/post_1960.json',
template: '<p><strong>{{value}}</strong> – {{year}}</p>',
engine: Hogan
}
]);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment