update `this.context` with data context on query calls
better handling of first character typed. fixes #196
Fixed 'width' and 'containerCss' incompatibility. fixes #828
Fixed 'width' and 'containerCss' incompatibility. fixes #828
fix triggering of unwated change. #824
fire open event after the drop has been opened
remove the val(' ').val('')  work around in firefox as it is no longer needed. fixes #832
improve dropdown open up/down mode. fixes #589
introduce highlight event. fixes #529. fixes #762
added params ajax option to pass extra params to transport. fixes #492
improve val() handling on multiselect. fixes #654
sync css classes. fixes #834
another tweak for css class filtering. #834
fix closeOnSelect and maximumSelectionSize combo bug. fixes #672
added selected and removed events. fixes #835
fire selected before close. #835
* Fix of issue 550 Select2 and CSS Transforms: dropdown menu is off position: https://github.com/ivaynberg/select2/issues/550

jquery offset() returns incorrect value when ancestor container has css transform applied to it, causing dropdown to appear in incorrect position.

Using { top: variable.offsetTop, left: variable.offsetLeft } instead of variable.offset() fixes this issue

Signed-off-by: Igor Vaynberg <igor.vaynberg@gmail.com>
make query() aware of the element select2 is attached to. fixes #561
prevent user from selecting text in choices. fixes #551
fire change on clear. fixes #558