twitter/typeahead.js — pull request #37 by barsh (2013-02-24 17:31:35+00:00)
Title: adjusting prefetch ttl

This change that allows the ttl for prefetched data to be adjusted by adding `ttl_ms` to a dataset.

```javascript
$('.typeahead').typeahead({
name: 'countries',
prefetch: '../data/countries.json',
ttl_ms: 60 * 60 * 1e3, // 1 hour instead of 3 days
});
```