Skip to content

Instantly share code, notes, and snippets.

@brightrain
Last active August 29, 2015 14:15
Show Gist options
  • Save brightrain/a4ea462113062598749b to your computer and use it in GitHub Desktop.
Save brightrain/a4ea462113062598749b to your computer and use it in GitHub Desktop.
camp ahead setup
...
, {
name: "camp",
displayKey: "name",
source: campBH.ttAdapter(),
// what the header looks like for this source in the suggestions drop down
templates: {
header: "<h1 class='typeahead-header'><span class='icon icon-camp'></span>&nbsp;Campgrounds</h1>"
}
},
...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment