I hereby claim:
- I am mattkennedy on github.
- I am mkennedy (https://keybase.io/mkennedy) on keybase.
- I have a public key whose fingerprint is DC9C EEE8 674D 44E4 BEE3 C2A1 DEBB 2A91 B0AD 7AF3
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
### Keybase proof | |
I hereby claim: | |
* I am mattkennedy on github. | |
* I am mkennedy (https://keybase.io/mkennedy) on keybase. | |
* I have a public key whose fingerprint is 5329 2031 33ED 9959 B3F2 0C0E F3CF 6339 90F7 1B17 | |
To claim this, I am signing this object: |
// | |
// IPInsetLabel.h | |
// Instapaper | |
// | |
// Created by Marco Arment on 7/23/11. | |
// Copyright 2011 Instapaper LLC, released to the public domain. | |
// | |
#import <UIKit/UIKit.h> |
# 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
#!/usr/bin/env ruby | |
require 'csv' | |
# This assumes: | |
# - Ruby 1.9's CSV library, if you are using 1.8, use FasterCSV. | |
# | |
# https://raw.github.com/hadley/data-baby-names/master/baby-names.csv | |
csv_fname = "baby-names.csv" |
// Charles Lawrence - Feb 16, 2012. Free to use and modify. Please attribute back to @geuis if you find this useful | |
// Twitter Bootstrap Typeahead doesn't support remote data querying. This is an expected feature in the future. In the meantime, others have submitted patches to the core bootstrap component that allow it. | |
// The following will allow remote autocompletes *without* modifying any officially released core code. | |
// If others find ways to improve this, please share. | |
$('#searchinput').typeahead() | |
.on('keyup', function(ev){ | |
ev.stopPropagation(); | |
ev.preventDefault(); |