jquery/jquery-ui — pull request #863 by tejohnso (2012-12-09 17:53:23+00:00)
Title: Autocomplete: don't silently return empty data on invalid source format

For example, passing an array of numbers as source data would result in
the message "X results are available" but the results would all be empty
anchor elements.
Now the results will contain "invalid data format" indicating to the
developer that although their data structure may be populated properly,
it is in an unexpected format and the documentation should be more
closely read. Also, searching for that message in the code will quickly
get them to the relevant section and they can see exactly how the source
data is interpreted.