If it's auto-generated, then just leave it as is!

On Monday, December 9, 2013, yidea wrote:

> In dist/typeahead.js:
>
> > @@ -1003,7 +1015,7 @@
> >              this.inputView = new InputView({
> >                  input: $input,
> >                  hint: $hint
> > -            }).on("focused", this._openDropdown).on("blured", this._closeDropdown).on("blured", this._setInputValueToQuery).on("enterKeyed tabKeyed", this._handleSelection).on("queryChanged", this._clearHint).on("queryChanged", this._clearSuggestions).on("queryChanged", this._getSuggestions).on("whitespaceChanged", this._updateHint).on("queryChanged whitespaceChanged", this._openDropdown).on("queryChanged whitespaceChanged", this._setLanguageDirection).on("escKeyed", this._closeDropdown).on("escKeyed", this._setInputValueToQuery).on("tabKeyed upKeyed downKeyed", this._managePreventDefault).on("upKeyed downKeyed", this._moveDropdownCursor).on("upKeyed downKeyed", this._openDropdown).on("tabKeyed leftKeyed rightKeyed", this._autocomplete);
> > +            }).on("focused", this._openDropdown).on("blured", this._closeDropdown).on("blured", this._setInputValueToQuery).on("enterKeyed tabKeyed", this._handleSelection).on("queryChanged", this._clearHint).on("queryChanged", this._getSuggestions).on("queryChangedEmpty", this._clearSuggestions).on("whitespaceChanged", this._updateHint).on("queryChanged whitespaceChanged", this._openDropdown).on("queryChanged whitespaceChanged", this._setLanguageDirection).on("escKeyed", this._closeDropdown).on("escKeyed", this._setInputValueToQuery).on("tabKeyed upKeyed downKeyed", this._managePreventDefault).on("upKeyed downKeyed", this._moveDropdownCursor).on("upKeyed downKeyed", this._openDropdown).on("tabKeyed leftKeyed rightKeyed", this._autocomplete);
>
> @ryan-roemer <https://github.com/ryan-roemer>, this dist/typeahead.js is
> auto-generated by grunt-contrib-uglify when running grunt build, and based
> on the option beatify: true. I was playing with the beatify options as
> http://lisperator.net/uglifyjs/codegen listed, but seems there's no
> direct control on the chaining part, do you have any good solution on this?
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/walmartlabs/typeahead.js/pull/4/files#r8216314>
> .
>