Skip to content

Instantly share code, notes, and snippets.

View aerykk's full-sized avatar
💭
git push --janken

aerykk aerykk

💭
git push --janken
View GitHub Profile
@aerykk
aerykk / README.markdown
Created April 27, 2012 19:10 — forked from Yavari/README.markdown
Bootstrap's Typeahead plugin extended (allowing for AJAX functionality) among other things

This is a fork of Bootstrap Typeahead that adds minimal but powerful extensions.

For example, process typeahead list asynchronously and return objects

  # This example does an AJAX lookup and is in CoffeeScript
  $('.typeahead').typeahead(
    # source can be a function
    source: (typeahead, query) ->
 # this function receives the typeahead object and the query string