ivaynberg/select2 — pull request #846 by lee-baker (2013-02-12 03:20:16+00:00)
Title: Adding method to allow different data to be set on the select2 object

As discussed in the stackoverflow question
http://stackoverflow.com/questions/14797261/select2-dependent-dropdown-lists/
I couldn't see a good way to set data on the list.

The response you gave seemed to indicate that you may have intended the code to work one way, but it actually works differently.

I added a setData method to the MultiSelect2 and SingleSelect2 objects that allow this data to be set.