twitter/typeahead.js — pull request #575 by Svakinn (2013-12-26 19:04:21+00:00)
Title: Bugfix and vital features Fork

Hi there.
I would like to share with you a new fork with critical bug fixes and much requested features for typeahead.
Since the list of modifications is quite log I do not expect this pull to be accepted as is. The intention is more or less to supply a temporary solution for the control until the release of the next version. Also the code here could be useful for developers of the new version.

The short list of updates is here:

1) Critical bugfix - IE11 problems caused by failed browser detection.
2) Bugfix - Mouse-click on dropdown selection caused focus and blur events to occur on the input control.
3) Critical Bugfix - Local data suggestion search broke on suggestions that had space in the display name.
4) New urgent feature - Allowing for custom, on-demand data retrieval without direct Ajax call.
5) New urgent feature - Not to require display names to be unique
6) New urgent feature - Getting control over the internal cache for remote data
7) Much requested basic feature - Get some handle on when customer exits input box without picking name from the suggestion list.
8) Requested basic feature Get suggestions before typing starts.
9) A must for myself.. - Nicely working Knockout Binding Handler, simplifying the set-up of the control and data-binding to the typed text, the selected datum and the suggestion data.

More detailed list of update is available here: https://github.com/Svakinn/typeahead.js/blob/typeaheadSimple/New.md

RELATED ISSUES:
I took a quick look at open issues for the last 5 months and it seems that the changes in this fork, are related to or address the following issues:
1) Bugfix: IE11 problems
#557-nathankoop/#554-svakinn
2) Bugfix: Blur/Focus flickering
#548-chrisdlangton, #539-rtjm, #460-jaurand
3) Bugfix: Local data search
#484-b4umel, #461-vinograd19
4) Custom data retrieval
#556-cusspvz, #536-harry2607, #518-dwt, #485-ansman, #473-speedblue
5) Keys & display names
#547-narrowfail, #546-ryanpitts, #534-Venu85, #523-jdaily, #496-nikmartin, #481-davismj, #459-davidmturner
6) Caching control
#562-krazyjakee, #549-chrisdlangton, #542-jasonterando, #521-jgerigmeyer, #515-tellex, #501-PrimoZvanut, #492-jpbecotte, #476-dtudury, #455-cusspvz
7) Selection verification
#566-zhigang1992, #530-ambahk, #526-ahodges13, #512-PetrSnobelt
8) Auto suggestion option
#550-netcult, #390-theoephraim

Merry Christmas !!