Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save seralf/5021652 to your computer and use it in GitHub Desktop.
Save seralf/5021652 to your computer and use it in GitHub Desktop.
$('.example-twitter-oss .typeahead').typeahead({
name: 'twitter-oss',
prefetch: '../data/repos.json',
template: [
'<p class="repo-language">{{language}}</p>',
'<p class="repo-name">{{name}}</p>',
'<p class="repo-description">{{description}}</p>'
].join(''),
engine: Hogan
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment