{"action":"closed","issue":{"url":"https://api.github.com/repos/twitter/typeahead.js/issues/1056","labels_url":"https://api.github.com/repos/twitter/typeahead.js/issues/1056/labels{/name}","comments_url":"https://api.github.com/repos/twitter/typeahead.js/issues/1056/comments","events_url":"https://api.github.com/repos/twitter/typeahead.js/issues/1056/events","html_url":"https://github.com/twitter/typeahead.js/issues/1056","id":49887022,"number":1056,"title":"Question abut custom templates","user":{"login":"griii2","id":2312983,"avatar_url":"https://avatars.githubusercontent.com/u/2312983?v=3","gravatar_id":"","url":"https://api.github.com/users/griii2","html_url":"https://github.com/griii2","followers_url":"https://api.github.com/users/griii2/followers","following_url":"https://api.github.com/users/griii2/following{/other_user}","gists_url":"https://api.github.com/users/griii2/gists{/gist_id}","starred_url":"https://api.github.com/users/griii2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/griii2/subscriptions","organizations_url":"https://api.github.com/users/griii2/orgs","repos_url":"https://api.github.com/users/griii2/repos","events_url":"https://api.github.com/users/griii2/events{/privacy}","received_events_url":"https://api.github.com/users/griii2/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2014-11-24T13:01:57Z","updated_at":"2015-04-25T11:43:51Z","closed_at":"2015-04-25T11:43:51Z","body":"I am trying to use custom templates but the documentation feels incomplete. \r\n\r\nQuestion 1\r\nThe suggestion object is supposed to be \"a precompiled template.\" but what exactly is a precompiled template? Can I use custom templates without templating engine like Handlebars or Hogan? Or are they a must?\r\n\r\n\r\nQuestion 2\r\nNext, the documentation reads \"The associated suggestion object will serve as the context.\" but where does the \"suggestion object\" comes from? The source in my case is a substringMatcher function from your demo page, but even Bloodhound returns a \"function with the signature (query, cb). It is expected that the function will compute the suggestion set ...\".\r\n\r\nI would be very thankful for any example that shows the whole setup with local data without any templating engine if possible. "}}