fmoo / react-typeahead

Pure react-based typeahead and typeahead-tokenizer
ISC License
677 stars 232 forks source link

typeahead, L121, return result = searchOptions(value, options); #200

Closed export-mike closed 8 years ago

export-mike commented 8 years ago

return result = searchOptions(value, options);

https://github.com/fmoo/react-typeahead/blob/master/src/typeahead/index.js#L121

Any ideas what this is for? Looks like a bug to me.

I've been getting errors for result is not defined

fmoo commented 8 years ago

my guess is this was a badly refactored debug assignment or something. Will do a .5 release soon.