ivaynberg/select2 — pull request #10 by justindujardin (2012-03-29 23:01:36+00:00)
Title: jQuery 1.4.2 compatibility

Support for jQuery 1.4.2

- use attr() instead of prop()
- use .bind() and .delegate() instead of .on()
- pass ajax success handler as an argument, instead of chaining call to .success()

I have tested this with jQuery 1.4.2, and the gh-pages example scripts, and all work fine. I will do cross-browser testing of this later. Let me know if anything looks off to you.