Add some error handling to autocomplete.
Review Request #5766 — Created May 3, 2014 and submitted — Latest diff uploaded
Add some error handling to autocomplete.
This is a minimal version of how the backbone models handle errors, except that I put the JSON parsing into the error callback rather than directly into the autocomplete library, in order to keep the latter more generic.
All unit tests pass, except some VCS-specific ones, which were skipped.