Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am jharding on github.
  • I am jharding (https://keybase.io/jharding) on keybase.
  • I have a public key whose fingerprint is EA80 48DF 9816 A1C7 AA6E FFB1 49AE CF34 0605 5E69

To claim this, I am signing this object:

<div id="default-suggestions">
<input class="typeahead" type="text" placeholder="NFL Teams">
</div>
@jharding
jharding / typeahead.bundle.js
Created July 14, 2014 00:01
typeahead.js #899 dist
/*!
* typeahead.js 0.10.3
* https://github.com/twitter/typeahead.js
* Copyright 2013-2014 Twitter, Inc. and other contributors; Licensed MIT
*/
(function($) {
var _ = function() {
"use strict";
return {
#rtl-support .tt-dropdown-menu {
text-align: right;
}
#scrollable-dropdown-menu .tt-dropdown-menu {
max-height: 150px;
overflow-y: auto;
}
#multiple-datasets .league-name {
margin: 0 20px 5px 20px;
padding: 3px 0;
border-bottom: 1px solid #ccc;
}
#custom-templates .empty-message {
padding: 5px 10px;
text-align: center;
}
<div id="remote">
<input class="typeahead" type="text" placeholder="Oscar winners for Best Picture">
</div>
<div id="prefetch">
<input class="typeahead" type="text" placeholder="Countries">
</div>
<div id="bloodhound">
<input class="typeahead" type="text" placeholder="States of USA">
</div>