1
0
mirror of synced 2024-11-26 06:46:04 +03:00
select2/dist/js
Kevin Brown e04188c85a Added backwards compatibility for initSelection
Now if the old `initSelection` method is used, a warning will be
triggered in the console informing the user that it has now been
changed to `DataAdapter.current`, and they should create a custom
data adapter instead. We will still only call `initSelection` once,
and then default back to the old data adapter for calls after that.
This allows for mostly transparent support between versions.

This adds tests to ensure that `initSelection` operates the same as
it previously did, but now patches the `current` method of the
default data adapter.
2015-01-14 21:24:08 -05:00
..
i18n Added some more jQuery events 2015-01-13 18:28:21 -05:00
select2.amd.full.js Added backwards compatibility for initSelection 2015-01-14 21:24:08 -05:00
select2.amd.js Added backwards compatibility for initSelection 2015-01-14 21:24:08 -05:00
select2.full.js Added backwards compatibility for initSelection 2015-01-14 21:24:08 -05:00
select2.full.min.js Added backwards compatibility for initSelection 2015-01-14 21:24:08 -05:00
select2.js Added backwards compatibility for initSelection 2015-01-14 21:24:08 -05:00
select2.min.js Added backwards compatibility for initSelection 2015-01-14 21:24:08 -05:00