jstayton / jquery-marcopolo

A jQuery autocomplete plugin for the discerning developer.
http://jstayton.github.io/jquery-marcopolo
MIT License
179 stars 27 forks source link

Fix for IE8 (Source only) #20

Closed firedev closed 11 years ago

firedev commented 11 years ago

Sorry, I wasn't able to compile it due to jasmine complaining about some errors. But this fixes it for IE8, in fact I believe using .length is better than isEmptyObject, less error-prone. You are returning an empty array anyway.

jstayton commented 11 years ago

Thanks! Sorry it took so long.

firedev commented 11 years ago

n/p, it's in production with this patch since then, so I guess it's kinda tested by now ;)