make sure data() returns null instead of undefined when  unset. this will prevent chaining which may seem weid. fixes #230
mark elements as selected when closeOnSelect is false so they cannot be selected again. fixes #229
fixes IE8 bug where the dropdown wouldnt open. it would actually open and close immediately because the body would get a focusin event even after the focus was set on the search field by select2. worked fine in IE9
container receives width style when hidden input has one or via opt

Signed-off-by: Igor Vaynberg <igor.vaynberg@gmail.com>
more flexible width strategies. fixes #237
tweak dropdown position. fixes #228
fix bug where space was ignored in single selects. fixes #233
fix multiselects in IEs. fixes #241
fix bug with determing the width. fixes #242
another tweak for positioning of dropdown and scrollbars. fixes #228 again
added close event. fixes #246
focus select2 on a click to a related label. fixes #198
allow a custom function for computing the width. fixes #252
Passing a string to select2('val') with initSelection causes it to be used.

Signed-off-by: Igor Vaynberg <igor.vaynberg@gmail.com>
Added truth checks to avoid unnecessarily firing initSelection.

Signed-off-by: Igor Vaynberg <igor.vaynberg@gmail.com>
clean up val. now it only accepts ids and only when initselection is set
Reworks search field.  Fixes #239

Uses the correct EOLs now, fixes iPad keyboard issue.
Merge pull request #255 from kevin-brown/master

Fixes #239: Issues with iPad
better handling of tags that are not just strings. fixes #256
Merge branch 'master' of github.com:ivaynberg/select2