1
0
mirror of synced 2024-11-22 21:16:10 +03:00
select2/dist/js
Kevin Brown 53c9d53166 Fix jQuery.noConflict compatibility
When `jQuery.noConflict` is called, the global `$` variable is not
defined. We cannot assume in the code that the variable is defined,
and instead should always make sure to import the `jquery` module
when we need jQuery.

This fixes all of the issues where we are assuming that `$` is
defined globally when we are not importing the module. This also
fixes the issues when defining the `jQuery.fn.select2.amd` modules
where we were always attaching to the `$` object instead of the
`jQuery` object.

This closes https://github.com/select2/select2/issues/2947.
2015-01-21 19:56:06 -05:00
..
i18n Fix jQuery.noConflict compatibility 2015-01-21 19:56:06 -05:00
select2.amd.full.js Fix jQuery.noConflict compatibility 2015-01-21 19:56:06 -05:00
select2.amd.js Fix jQuery.noConflict compatibility 2015-01-21 19:56:06 -05:00
select2.full.js Fix jQuery.noConflict compatibility 2015-01-21 19:56:06 -05:00
select2.full.min.js Fix jQuery.noConflict compatibility 2015-01-21 19:56:06 -05:00
select2.js Fix jQuery.noConflict compatibility 2015-01-21 19:56:06 -05:00
select2.min.js Fix jQuery.noConflict compatibility 2015-01-21 19:56:06 -05:00