ivaynberg/select2 — pull request #1819 by jrlynchii (2013-10-20 20:31:58+00:00)
Title: Modified syncCssClasses to use output of adapter when applying classes.

The docs for adaptContainerCssClass and adaptDropdownCssClass state that the two functions can be used to change the classes being applied to the container/dropdown when classes are synced, but syncCssClasses was only using the output to determine if classes should be applied or not.