1
0
mirror of synced 2024-11-22 21:16:10 +03:00
select2/dist/js
Kevin Brown 1b46e8ab3e Improve the default language chain
If the language that is passed in through the options is just a
string, like "en-US" or "pt-BR", Select2 will now try to load the
base language along with the requested language and "en". So
requesting "pt-BR" will try to load "pt-BR", "pt", and "en".

This also catches errors and triggers a warning about not being
able to load the file. This should be a more user friendly error,
and it fixes the problem where Select2 would completely fail to
initialize if a language could not be found.

This closes https://github.com/select2/select2/issues/2934.
2015-01-17 21:56:58 -05:00
..
i18n Expose the defaults 2015-01-17 21:27:53 -05:00
select2.amd.full.js Improve the default language chain 2015-01-17 21:56:58 -05:00
select2.amd.js Improve the default language chain 2015-01-17 21:56:58 -05:00
select2.full.js Improve the default language chain 2015-01-17 21:56:58 -05:00
select2.full.min.js Improve the default language chain 2015-01-17 21:56:58 -05:00
select2.js Improve the default language chain 2015-01-17 21:56:58 -05:00
select2.min.js Improve the default language chain 2015-01-17 21:56:58 -05:00