agarzola / jQueryAutocompletePlugin

Jörn Zaefferer’s (now deprecated) jQuery plugin, with tweaks.
282 stars 151 forks source link

Unnecessary to read source data in this situdation #38

Closed sabershi closed 11 years ago

sabershi commented 11 years ago

data: {d1, d2, d3} if i search d, all the records will be cached like Cache[d]:{d1, d2, d3}. Then i search d4, the returned value from Cache[d] is []; if i search c1, the returned value is null. '[]' is not needed to read the source data again

agarzola commented 11 years ago

Thanks for catching that, sabershi.