twitter/typeahead.js — pull request #632 by growlypants (2014-02-02 21:53:26+00:00)
Title: Change jQuery to $ in function declaration

When compiled for distribution, `window.jQuery` is passed in to the wrapper function, and is set to the variable `$` internally. We should maintain that variable when defining the typeahead function.

https://github.com/twitter/typeahead.js/blob/d5402b3b62c3659a9107c014ba56322ff17ab170/dist/typeahead.jquery.js#L1115

https://github.com/twitter/typeahead.js/blob/d5402b3b62c3659a9107c014ba56322ff17ab170/dist/typeahead.jquery.js#L7

Thanks!