ivaynberg/select2 — pull request #1055 by jessefoster (2013-03-19 00:00:57+00:00)
Title: Add option to automatically size dropdown width

Similar to the work from https://github.com/ivaynberg/select2/pull/210, but minus jQuery UI and I adjust dropdown width when the scrollbar is present as well. Tested with several examples in Firefox, Chrome, and IE7-9. All worked fine but visually IE can be a bit too wide sometimes.