repo stringlengths 5 106 | file_url stringlengths 78 301 | file_path stringlengths 4 211 | content stringlengths 0 32.8k | language stringclasses 1
value | license stringclasses 7
values | commit_sha stringlengths 40 40 | retrieved_at stringdate 2026-01-04 14:56:49 2026-01-05 02:23:25 | truncated bool 2
classes |
|---|---|---|---|---|---|---|---|---|
select2/select2 | https://github.com/select2/select2/blob/595494a72fee67b0a61c64701cbb72e3121f97b9/src/js/select2/i18n/ug.js | src/js/select2/i18n/ug.js | define(function () {
// Uyghur (Uighur)
return {
errorLoading: function () {
return 'نەتىجىنى يۈكلىيەلمىدى.';
},
inputTooLong: function (args) {
var overChars = args.input.length - args.maximum;
var message = overChars + ' ھەرپ-بەلگىنى ئۆچۈرۈۋېتىڭ.';
retur... | javascript | MIT | 595494a72fee67b0a61c64701cbb72e3121f97b9 | 2026-01-04T15:04:04.887474Z | false |
select2/select2 | https://github.com/select2/select2/blob/595494a72fee67b0a61c64701cbb72e3121f97b9/src/js/select2/i18n/nb.js | src/js/select2/i18n/nb.js | define(function () {
// Norwegian (Bokmål)
return {
errorLoading: function () {
return 'Kunne ikke hente resultater.';
},
inputTooLong: function (args) {
var overChars = args.input.length - args.maximum;
return 'Vennligst fjern ' + overChars + ' tegn';
},
inputTooShort: functi... | javascript | MIT | 595494a72fee67b0a61c64701cbb72e3121f97b9 | 2026-01-04T15:04:04.887474Z | false |
select2/select2 | https://github.com/select2/select2/blob/595494a72fee67b0a61c64701cbb72e3121f97b9/src/js/select2/i18n/fa.js | src/js/select2/i18n/fa.js | /* jshint -W100 */
/* jslint maxlen: 86 */
define(function () {
// Farsi (Persian)
return {
errorLoading: function () {
return 'امکان بارگذاری نتایج وجود ندارد.';
},
inputTooLong: function (args) {
var overChars = args.input.length - args.maximum;
var message = 'لطفاً ' + overChars + ... | javascript | MIT | 595494a72fee67b0a61c64701cbb72e3121f97b9 | 2026-01-04T15:04:04.887474Z | false |
select2/select2 | https://github.com/select2/select2/blob/595494a72fee67b0a61c64701cbb72e3121f97b9/src/js/select2/i18n/ar.js | src/js/select2/i18n/ar.js | define(function () {
// Arabic
return {
errorLoading: function () {
return 'لا يمكن تحميل النتائج';
},
inputTooLong: function (args) {
var overChars = args.input.length - args.maximum;
return 'الرجاء حذف ' + overChars + ' عناصر';
},
inputTooShort: function (args) {
var r... | javascript | MIT | 595494a72fee67b0a61c64701cbb72e3121f97b9 | 2026-01-04T15:04:04.887474Z | false |
select2/select2 | https://github.com/select2/select2/blob/595494a72fee67b0a61c64701cbb72e3121f97b9/src/js/select2/i18n/eo.js | src/js/select2/i18n/eo.js | define(function () {
// Esperanto
return {
errorLoading: function () {
return 'La rezultoj ne povas esti ŝargitaj.';
},
inputTooLong: function (args) {
var overChars = args.input.length - args.maximum;
var message = 'Bonvolu forigi ' + overChars + ' signo';
if (overChars == 1) ... | javascript | MIT | 595494a72fee67b0a61c64701cbb72e3121f97b9 | 2026-01-04T15:04:04.887474Z | false |
select2/select2 | https://github.com/select2/select2/blob/595494a72fee67b0a61c64701cbb72e3121f97b9/src/js/select2/i18n/lt.js | src/js/select2/i18n/lt.js | define(function () {
// rules from
// http://www.unicode.org/cldr/charts/latest/supplemental/language_plural_rules.html#lt
function ending(count, one, few, other) {
if (count % 10 === 1 && (count % 100 < 11 || count % 100 > 19)) {
return one;
} else if (
(count % 10 >= 2 && count % 10 <= 9) &&... | javascript | MIT | 595494a72fee67b0a61c64701cbb72e3121f97b9 | 2026-01-04T15:04:04.887474Z | false |
select2/select2 | https://github.com/select2/select2/blob/595494a72fee67b0a61c64701cbb72e3121f97b9/src/js/select2/i18n/zh-TW.js | src/js/select2/i18n/zh-TW.js | define(function () {
// Chinese (Traditional)
return {
errorLoading: function () {
return '無法載入結果。';
},
inputTooLong: function (args) {
var overChars = args.input.length - args.maximum;
var message = '請刪掉' + overChars + '個字元';
return message;
},
inputTooShort: function ... | javascript | MIT | 595494a72fee67b0a61c64701cbb72e3121f97b9 | 2026-01-04T15:04:04.887474Z | false |
select2/select2 | https://github.com/select2/select2/blob/595494a72fee67b0a61c64701cbb72e3121f97b9/src/js/select2/i18n/hi.js | src/js/select2/i18n/hi.js | define(function () {
// Hindi
return {
errorLoading: function () {
return 'परिणामों को लोड नहीं किया जा सका।';
},
inputTooLong: function (args) {
var overChars = args.input.length - args.maximum;
var message = overChars + ' अक्षर को हटा दें';
if (overChars > 1) {
messa... | javascript | MIT | 595494a72fee67b0a61c64701cbb72e3121f97b9 | 2026-01-04T15:04:04.887474Z | false |
select2/select2 | https://github.com/select2/select2/blob/595494a72fee67b0a61c64701cbb72e3121f97b9/src/js/select2/i18n/bg.js | src/js/select2/i18n/bg.js | define(function () {
// Bulgarian
return {
inputTooLong: function (args) {
var overChars = args.input.length - args.maximum;
var message = 'Моля въведете с ' + overChars + ' по-малко символ';
if (overChars > 1) {
message += 'a';
}
return message;
},
inputTooShort... | javascript | MIT | 595494a72fee67b0a61c64701cbb72e3121f97b9 | 2026-01-04T15:04:04.887474Z | false |
select2/select2 | https://github.com/select2/select2/blob/595494a72fee67b0a61c64701cbb72e3121f97b9/src/js/select2/i18n/sr-Cyrl.js | src/js/select2/i18n/sr-Cyrl.js | define(function () {
// Serbian Cyrilic
function ending (count, one, some, many) {
if (count % 10 == 1 && count % 100 != 11) {
return one;
}
if (count % 10 >= 2 && count % 10 <= 4 &&
(count % 100 < 12 || count % 100 > 14)) {
return some;
}
return many;
}
return {
e... | javascript | MIT | 595494a72fee67b0a61c64701cbb72e3121f97b9 | 2026-01-04T15:04:04.887474Z | false |
select2/select2 | https://github.com/select2/select2/blob/595494a72fee67b0a61c64701cbb72e3121f97b9/src/js/select2/i18n/eu.js | src/js/select2/i18n/eu.js | define(function () {
// Basque
return {
inputTooLong: function (args) {
var overChars = args.input.length - args.maximum;
var message = 'Idatzi ';
if (overChars == 1) {
message += 'karaktere bat';
} else {
message += overChars + ' karaktere';
}
message += '... | javascript | MIT | 595494a72fee67b0a61c64701cbb72e3121f97b9 | 2026-01-04T15:04:04.887474Z | false |
select2/select2 | https://github.com/select2/select2/blob/595494a72fee67b0a61c64701cbb72e3121f97b9/src/js/select2/i18n/sr.js | src/js/select2/i18n/sr.js | define(function () {
// Serbian
function ending (count, one, some, many) {
if (count % 10 == 1 && count % 100 != 11) {
return one;
}
if (count % 10 >= 2 && count % 10 <= 4 &&
(count % 100 < 12 || count % 100 > 14)) {
return some;
}
return many;
}
return {
errorLoad... | javascript | MIT | 595494a72fee67b0a61c64701cbb72e3121f97b9 | 2026-01-04T15:04:04.887474Z | false |
select2/select2 | https://github.com/select2/select2/blob/595494a72fee67b0a61c64701cbb72e3121f97b9/src/js/select2/i18n/nl.js | src/js/select2/i18n/nl.js | define(function () {
// Dutch
return {
errorLoading: function () {
return 'De resultaten konden niet worden geladen.';
},
inputTooLong: function (args) {
var overChars = args.input.length - args.maximum;
var message = 'Gelieve ' + overChars + ' karakters te verwijderen';
return... | javascript | MIT | 595494a72fee67b0a61c64701cbb72e3121f97b9 | 2026-01-04T15:04:04.887474Z | false |
select2/select2 | https://github.com/select2/select2/blob/595494a72fee67b0a61c64701cbb72e3121f97b9/src/js/select2/i18n/th.js | src/js/select2/i18n/th.js | define(function () {
// Thai
return {
errorLoading: function () {
return 'ไม่สามารถค้นข้อมูลได้';
},
inputTooLong: function (args) {
var overChars = args.input.length - args.maximum;
var message = 'โปรดลบออก ' + overChars + ' ตัวอักษร';
return message;
},
inputTooShort:... | javascript | MIT | 595494a72fee67b0a61c64701cbb72e3121f97b9 | 2026-01-04T15:04:04.887474Z | false |
select2/select2 | https://github.com/select2/select2/blob/595494a72fee67b0a61c64701cbb72e3121f97b9/src/js/select2/i18n/da.js | src/js/select2/i18n/da.js | define(function () {
// Danish
return {
errorLoading: function () {
return 'Resultaterne kunne ikke indlæses.';
},
inputTooLong: function (args) {
var overChars = args.input.length - args.maximum;
return 'Angiv venligst ' + overChars + ' tegn mindre';
},
inputTooShort: functio... | javascript | MIT | 595494a72fee67b0a61c64701cbb72e3121f97b9 | 2026-01-04T15:04:04.887474Z | false |
select2/select2 | https://github.com/select2/select2/blob/595494a72fee67b0a61c64701cbb72e3121f97b9/src/js/select2/i18n/hy.js | src/js/select2/i18n/hy.js | define(function () {
// Armenian
return {
errorLoading: function () {
return 'Արդյունքները հնարավոր չէ բեռնել։';
},
inputTooLong: function (args) {
var overChars = args.input.length - args.maximum;
var message = 'Խնդրում ենք հեռացնել ' + overChars + ' նշան';
return message;
... | javascript | MIT | 595494a72fee67b0a61c64701cbb72e3121f97b9 | 2026-01-04T15:04:04.887474Z | false |
select2/select2 | https://github.com/select2/select2/blob/595494a72fee67b0a61c64701cbb72e3121f97b9/src/js/select2/i18n/ro.js | src/js/select2/i18n/ro.js | define(function () {
// Romanian
return {
errorLoading: function () {
return 'Rezultatele nu au putut fi incărcate.';
},
inputTooLong: function (args) {
var overChars = args.input.length - args.maximum;
var message = 'Vă rugăm să ștergeți ' + overChars + ' caracter';
if (overCh... | javascript | MIT | 595494a72fee67b0a61c64701cbb72e3121f97b9 | 2026-01-04T15:04:04.887474Z | false |
select2/select2 | https://github.com/select2/select2/blob/595494a72fee67b0a61c64701cbb72e3121f97b9/src/js/select2/i18n/tk.js | src/js/select2/i18n/tk.js | define(function () {
// Turkmen
return {
errorLoading: function (){
return 'Netije ýüklenmedi.';
},
inputTooLong: function (args) {
var overChars = args.input.length - args.maximum;
var message = overChars + ' harp bozuň.';
return message;
},
inputTooShort: function (ar... | javascript | MIT | 595494a72fee67b0a61c64701cbb72e3121f97b9 | 2026-01-04T15:04:04.887474Z | false |
select2/select2 | https://github.com/select2/select2/blob/595494a72fee67b0a61c64701cbb72e3121f97b9/src/js/select2/i18n/el.js | src/js/select2/i18n/el.js | define(function () {
// Greek (el)
return {
errorLoading: function () {
return 'Τα αποτελέσματα δεν μπόρεσαν να φορτώσουν.';
},
inputTooLong: function (args) {
var overChars = args.input.length - args.maximum;
var message = 'Παρακαλώ διαγράψτε ' + overChars + ' χαρακτήρ';
if (o... | javascript | MIT | 595494a72fee67b0a61c64701cbb72e3121f97b9 | 2026-01-04T15:04:04.887474Z | false |
select2/select2 | https://github.com/select2/select2/blob/595494a72fee67b0a61c64701cbb72e3121f97b9/src/js/select2/i18n/te.js | src/js/select2/i18n/te.js | define(function() {
// Telugu
return {
errorLoading: function() {
return 'ఫలితాలు చూపించలేకపోతున్నాము';
},
inputTooLong: function(args) {
var overChars = args.input.length - args.maximum;
var message = overChars;
if (overChars != 1) {
... | javascript | MIT | 595494a72fee67b0a61c64701cbb72e3121f97b9 | 2026-01-04T15:04:04.887474Z | false |
select2/select2 | https://github.com/select2/select2/blob/595494a72fee67b0a61c64701cbb72e3121f97b9/src/js/select2/i18n/hr.js | src/js/select2/i18n/hr.js | define(function () {
// Croatian
function character (n) {
var message = ' ' + n + ' znak';
if (n % 10 < 5 && n % 10 > 0 && (n % 100 < 5 || n % 100 > 19)) {
if (n % 10 > 1) {
message += 'a';
}
} else {
message += 'ova';
}
return message;
}
return {
errorLoadin... | javascript | MIT | 595494a72fee67b0a61c64701cbb72e3121f97b9 | 2026-01-04T15:04:04.887474Z | false |
select2/select2 | https://github.com/select2/select2/blob/595494a72fee67b0a61c64701cbb72e3121f97b9/src/js/select2/i18n/pt.js | src/js/select2/i18n/pt.js | define(function () {
// European Portuguese
return {
errorLoading: function () {
return 'Os resultados não puderam ser carregados.';
},
inputTooLong: function (args) {
var overChars = args.input.length - args.maximum;
var message = 'Por favor apague ' + overChars + ' ';
message... | javascript | MIT | 595494a72fee67b0a61c64701cbb72e3121f97b9 | 2026-01-04T15:04:04.887474Z | false |
select2/select2 | https://github.com/select2/select2/blob/595494a72fee67b0a61c64701cbb72e3121f97b9/src/js/select2/i18n/es.js | src/js/select2/i18n/es.js | define(function () {
// Spanish
return {
errorLoading: function () {
return 'No se pudieron cargar los resultados';
},
inputTooLong: function (args) {
var remainingChars = args.input.length - args.maximum;
var message = 'Por favor, elimine ' + remainingChars + ' car';
if (remai... | javascript | MIT | 595494a72fee67b0a61c64701cbb72e3121f97b9 | 2026-01-04T15:04:04.887474Z | false |
select2/select2 | https://github.com/select2/select2/blob/595494a72fee67b0a61c64701cbb72e3121f97b9/src/js/select2/i18n/is.js | src/js/select2/i18n/is.js | define(function () {
// Icelandic
return {
inputTooLong: function (args) {
var overChars = args.input.length - args.maximum;
var message = 'Vinsamlegast styttið texta um ' + overChars + ' staf';
if (overChars <= 1) {
return message;
}
return message + 'i';
},
inp... | javascript | MIT | 595494a72fee67b0a61c64701cbb72e3121f97b9 | 2026-01-04T15:04:04.887474Z | false |
select2/select2 | https://github.com/select2/select2/blob/595494a72fee67b0a61c64701cbb72e3121f97b9/src/js/select2/i18n/de.js | src/js/select2/i18n/de.js | define(function () {
// German
return {
errorLoading: function () {
return 'Die Ergebnisse konnten nicht geladen werden.';
},
inputTooLong: function (args) {
var overChars = args.input.length - args.maximum;
return 'Bitte ' + overChars + ' Zeichen weniger eingeben';
},
inputTo... | javascript | MIT | 595494a72fee67b0a61c64701cbb72e3121f97b9 | 2026-01-04T15:04:04.887474Z | false |
select2/select2 | https://github.com/select2/select2/blob/595494a72fee67b0a61c64701cbb72e3121f97b9/src/js/select2/i18n/zh-CN.js | src/js/select2/i18n/zh-CN.js | define(function () {
// Chinese (Simplified)
return {
errorLoading: function () {
return '无法载入结果。';
},
inputTooLong: function (args) {
var overChars = args.input.length - args.maximum;
var message = '请删除' + overChars + '个字符';
return message;
},
inputTooShort: function (... | javascript | MIT | 595494a72fee67b0a61c64701cbb72e3121f97b9 | 2026-01-04T15:04:04.887474Z | false |
select2/select2 | https://github.com/select2/select2/blob/595494a72fee67b0a61c64701cbb72e3121f97b9/src/js/select2/i18n/sq.js | src/js/select2/i18n/sq.js | define(function () {
// Albanian
return {
errorLoading: function () {
return 'Rezultatet nuk mund të ngarkoheshin.';
},
inputTooLong: function (args) {
var overChars = args.input.length - args.maximum;
var message = 'Të lutem fshi ' + overChars + ' karakter';
if (overChars != 1... | javascript | MIT | 595494a72fee67b0a61c64701cbb72e3121f97b9 | 2026-01-04T15:04:04.887474Z | false |
select2/select2 | https://github.com/select2/select2/blob/595494a72fee67b0a61c64701cbb72e3121f97b9/src/js/select2/i18n/en.js | src/js/select2/i18n/en.js | define(function () {
// English
return {
errorLoading: function () {
return 'The results could not be loaded.';
},
inputTooLong: function (args) {
var overChars = args.input.length - args.maximum;
var message = 'Please delete ' + overChars + ' character';
if (overChars != 1) {
... | javascript | MIT | 595494a72fee67b0a61c64701cbb72e3121f97b9 | 2026-01-04T15:04:04.887474Z | false |
select2/select2 | https://github.com/select2/select2/blob/595494a72fee67b0a61c64701cbb72e3121f97b9/src/js/select2/i18n/lv.js | src/js/select2/i18n/lv.js | define(function () {
// Latvian
function ending (count, eleven, singular, other) {
if (count === 11) {
return eleven;
}
if (count % 10 === 1) {
return singular;
}
return other;
}
return {
inputTooLong: function (args) {
var overChars = args.input.length - args.maximu... | javascript | MIT | 595494a72fee67b0a61c64701cbb72e3121f97b9 | 2026-01-04T15:04:04.887474Z | false |
select2/select2 | https://github.com/select2/select2/blob/595494a72fee67b0a61c64701cbb72e3121f97b9/src/js/select2/i18n/lb.js | src/js/select2/i18n/lb.js | define(function () {
// Luxembourgish
return {
errorLoading: function () {
return 'D\'Resultater konnten net geluede ginn.';
},
inputTooLong: function (args) {
var overChars = args.input.length - args.maximum;
return 'Läscht ' + overChars + ' Schrëftzeechen';
}... | javascript | MIT | 595494a72fee67b0a61c64701cbb72e3121f97b9 | 2026-01-04T15:04:04.887474Z | false |
select2/select2 | https://github.com/select2/select2/blob/595494a72fee67b0a61c64701cbb72e3121f97b9/src/js/select2/i18n/ne.js | src/js/select2/i18n/ne.js | define(function () {
// Nepali
return {
errorLoading: function () {
return 'नतिजाहरु देखाउन सकिएन।';
},
inputTooLong: function (args) {
var overChars = args.input.length - args.maximum;
var message = 'कृपया ' + overChars + ' अक्षर मेटाउनुहोस्।';
if (overChars ... | javascript | MIT | 595494a72fee67b0a61c64701cbb72e3121f97b9 | 2026-01-04T15:04:04.887474Z | false |
select2/select2 | https://github.com/select2/select2/blob/595494a72fee67b0a61c64701cbb72e3121f97b9/src/js/select2/i18n/hu.js | src/js/select2/i18n/hu.js | define(function () {
// Hungarian
return {
errorLoading: function () {
return 'Az eredmények betöltése nem sikerült.';
},
inputTooLong: function (args) {
var overChars = args.input.length - args.maximum;
return 'Túl hosszú. ' + overChars + ' karakterrel több, mint kellene.';
},
... | javascript | MIT | 595494a72fee67b0a61c64701cbb72e3121f97b9 | 2026-01-04T15:04:04.887474Z | false |
select2/select2 | https://github.com/select2/select2/blob/595494a72fee67b0a61c64701cbb72e3121f97b9/src/js/select2/i18n/id.js | src/js/select2/i18n/id.js | define(function () {
// Indonesian
return {
errorLoading: function () {
return 'Data tidak boleh diambil.';
},
inputTooLong: function (args) {
var overChars = args.input.length - args.maximum;
return 'Hapuskan ' + overChars + ' huruf';
},
inputTooShort: function (args) {
... | javascript | MIT | 595494a72fee67b0a61c64701cbb72e3121f97b9 | 2026-01-04T15:04:04.887474Z | false |
select2/select2 | https://github.com/select2/select2/blob/595494a72fee67b0a61c64701cbb72e3121f97b9/src/js/select2/i18n/bs.js | src/js/select2/i18n/bs.js | define(function () {
// Bosnian
function ending (count, one, some, many) {
if (count % 10 == 1 && count % 100 != 11) {
return one;
}
if (count % 10 >= 2 && count % 10 <= 4 &&
(count % 100 < 12 || count % 100 > 14)) {
return some;
}
return many;
}
return {
errorLoad... | javascript | MIT | 595494a72fee67b0a61c64701cbb72e3121f97b9 | 2026-01-04T15:04:04.887474Z | false |
select2/select2 | https://github.com/select2/select2/blob/595494a72fee67b0a61c64701cbb72e3121f97b9/src/js/select2/i18n/tr.js | src/js/select2/i18n/tr.js | define(function () {
// Turkish
return {
errorLoading: function (){
return 'Sonuç yüklenemedi';
},
inputTooLong: function (args) {
var overChars = args.input.length - args.maximum;
var message = overChars + ' karakter daha girmelisiniz';
return message;
},
inputTooShort... | javascript | MIT | 595494a72fee67b0a61c64701cbb72e3121f97b9 | 2026-01-04T15:04:04.887474Z | false |
select2/select2 | https://github.com/select2/select2/blob/595494a72fee67b0a61c64701cbb72e3121f97b9/src/js/select2/i18n/fr.js | src/js/select2/i18n/fr.js | define(function () {
// French
return {
errorLoading: function () {
return 'Les résultats ne peuvent pas être chargés.';
},
inputTooLong: function (args) {
var overChars = args.input.length - args.maximum;
return 'Supprimez ' + overChars + ' caractère' +
((overChars > 1) ? 's'... | javascript | MIT | 595494a72fee67b0a61c64701cbb72e3121f97b9 | 2026-01-04T15:04:04.887474Z | false |
select2/select2 | https://github.com/select2/select2/blob/595494a72fee67b0a61c64701cbb72e3121f97b9/src/js/select2/i18n/pt-BR.js | src/js/select2/i18n/pt-BR.js | define(function () {
// Brazilian Portuguese
return {
errorLoading: function () {
return 'Os resultados não puderam ser carregados.';
},
inputTooLong: function (args) {
var overChars = args.input.length - args.maximum;
var message = 'Apague ' + overChars + ' caracter';
if (over... | javascript | MIT | 595494a72fee67b0a61c64701cbb72e3121f97b9 | 2026-01-04T15:04:04.887474Z | false |
select2/select2 | https://github.com/select2/select2/blob/595494a72fee67b0a61c64701cbb72e3121f97b9/src/js/select2/i18n/ps.js | src/js/select2/i18n/ps.js | /* jslint maxlen: 87 */
define(function () {
// Pashto (پښتو)
return {
errorLoading: function () {
return 'پايلي نه سي ترلاسه کېدای';
},
inputTooLong: function (args) {
var overChars = args.input.length - args.maximum;
var message = 'د مهربانۍ لمخي ' + overChars + ' توری ړنګ کړئ';
... | javascript | MIT | 595494a72fee67b0a61c64701cbb72e3121f97b9 | 2026-01-04T15:04:04.887474Z | false |
select2/select2 | https://github.com/select2/select2/blob/595494a72fee67b0a61c64701cbb72e3121f97b9/src/js/select2/i18n/km.js | src/js/select2/i18n/km.js | define(function () {
// Khmer
return {
errorLoading: function () {
return 'មិនអាចទាញយកទិន្នន័យ';
},
inputTooLong: function (args) {
var overChars = args.input.length - args.maximum;
var message = 'សូមលុបចេញ ' + overChars + ' អក្សរ';
return message;
},
inputTooShort: fu... | javascript | MIT | 595494a72fee67b0a61c64701cbb72e3121f97b9 | 2026-01-04T15:04:04.887474Z | false |
select2/select2 | https://github.com/select2/select2/blob/595494a72fee67b0a61c64701cbb72e3121f97b9/src/js/select2/i18n/he.js | src/js/select2/i18n/he.js | define(function () {
// Hebrew
return {
errorLoading: function () {
return 'שגיאה בטעינת התוצאות';
},
inputTooLong: function (args) {
var overChars = args.input.length - args.maximum;
var message = 'נא למחוק ';
if (overChars === 1) {
message += 'תו אחד';
} else {
... | javascript | MIT | 595494a72fee67b0a61c64701cbb72e3121f97b9 | 2026-01-04T15:04:04.887474Z | false |
select2/select2 | https://github.com/select2/select2/blob/595494a72fee67b0a61c64701cbb72e3121f97b9/src/js/select2/i18n/pl.js | src/js/select2/i18n/pl.js | define(function () {
// Polish
var charsWords = ['znak', 'znaki', 'znaków'];
var itemsWords = ['element', 'elementy', 'elementów'];
var pluralWord = function pluralWord(numberOfChars, words) {
if (numberOfChars === 1) {
return words[0];
} else if (numberOfChars > 1 && numberOfChars <= 4) {
... | javascript | MIT | 595494a72fee67b0a61c64701cbb72e3121f97b9 | 2026-01-04T15:04:04.887474Z | false |
select2/select2 | https://github.com/select2/select2/blob/595494a72fee67b0a61c64701cbb72e3121f97b9/src/js/select2/i18n/ms.js | src/js/select2/i18n/ms.js | define(function () {
// Malay
return {
errorLoading: function () {
return 'Keputusan tidak berjaya dimuatkan.';
},
inputTooLong: function (args) {
var overChars = args.input.length - args.maximum;
return 'Sila hapuskan ' + overChars + ' aksara';
},
inputTooShort: function (arg... | javascript | MIT | 595494a72fee67b0a61c64701cbb72e3121f97b9 | 2026-01-04T15:04:04.887474Z | false |
select2/select2 | https://github.com/select2/select2/blob/595494a72fee67b0a61c64701cbb72e3121f97b9/src/js/select2/i18n/cs.js | src/js/select2/i18n/cs.js | define(function () {
// Czech
function small (count, masc) {
switch(count) {
case 2:
return masc ? 'dva' : 'dvě';
case 3:
return 'tři';
case 4:
return 'čtyři';
}
return '';
}
return {
errorLoading: function () {
return 'Výsledky nemohly být načteny... | javascript | MIT | 595494a72fee67b0a61c64701cbb72e3121f97b9 | 2026-01-04T15:04:04.887474Z | false |
select2/select2 | https://github.com/select2/select2/blob/595494a72fee67b0a61c64701cbb72e3121f97b9/src/js/select2/i18n/ru.js | src/js/select2/i18n/ru.js | define(function () {
// Russian
function ending (count, one, couple, more) {
if (count % 10 < 5 && count % 10 > 0 &&
count % 100 < 5 || count % 100 > 20) {
if (count % 10 > 1) {
return couple;
}
} else {
return more;
}
return one;
}
return {
errorLoading: ... | javascript | MIT | 595494a72fee67b0a61c64701cbb72e3121f97b9 | 2026-01-04T15:04:04.887474Z | false |
select2/select2 | https://github.com/select2/select2/blob/595494a72fee67b0a61c64701cbb72e3121f97b9/src/js/select2/i18n/dsb.js | src/js/select2/i18n/dsb.js | define(function () {
// Lower Sorbian
var charsWords = ['znamuško', 'znamušce', 'znamuška','znamuškow'];
var itemsWords = ['zapisk', 'zapiska', 'zapiski','zapiskow'];
var pluralWord = function pluralWord(numberOfChars, words) {
if (numberOfChars === 1) {
return words[0];
} else if (numberOfChar... | javascript | MIT | 595494a72fee67b0a61c64701cbb72e3121f97b9 | 2026-01-04T15:04:04.887474Z | false |
select2/select2 | https://github.com/select2/select2/blob/595494a72fee67b0a61c64701cbb72e3121f97b9/src/js/select2/i18n/fi.js | src/js/select2/i18n/fi.js | define(function () {
// Finnish
return {
errorLoading: function () {
return 'Tuloksia ei saatu ladattua.';
},
inputTooLong: function (args) {
var overChars = args.input.length - args.maximum;
return 'Ole hyvä ja anna ' + overChars + ' merkkiä vähemmän';
},
inputTooShort: funct... | javascript | MIT | 595494a72fee67b0a61c64701cbb72e3121f97b9 | 2026-01-04T15:04:04.887474Z | false |
select2/select2 | https://github.com/select2/select2/blob/595494a72fee67b0a61c64701cbb72e3121f97b9/src/js/select2/i18n/et.js | src/js/select2/i18n/et.js | define(function () {
// Estonian
return {
inputTooLong: function (args) {
var overChars = args.input.length - args.maximum;
var message = 'Sisesta ' + overChars + ' täht';
if (overChars != 1) {
message += 'e';
}
message += ' vähem';
return message;
},
inpu... | javascript | MIT | 595494a72fee67b0a61c64701cbb72e3121f97b9 | 2026-01-04T15:04:04.887474Z | false |
select2/select2 | https://github.com/select2/select2/blob/595494a72fee67b0a61c64701cbb72e3121f97b9/src/js/select2/i18n/sk.js | src/js/select2/i18n/sk.js | define(function () {
// Slovak
// use text for the numbers 2 through 4
var smallNumbers = {
2: function (masc) { return (masc ? 'dva' : 'dve'); },
3: function () { return 'tri'; },
4: function () { return 'štyri'; }
};
return {
errorLoading: function () {
return 'Výsledky sa nepodarilo... | javascript | MIT | 595494a72fee67b0a61c64701cbb72e3121f97b9 | 2026-01-04T15:04:04.887474Z | false |
select2/select2 | https://github.com/select2/select2/blob/595494a72fee67b0a61c64701cbb72e3121f97b9/src/js/select2/i18n/af.js | src/js/select2/i18n/af.js | define(function () {
// English
return {
errorLoading: function () {
return 'Die resultate kon nie gelaai word nie.';
},
inputTooLong: function (args) {
var overChars = args.input.length - args.maximum;
var message = 'Verwyders asseblief ' + overChars + ' character';
if (overCh... | javascript | MIT | 595494a72fee67b0a61c64701cbb72e3121f97b9 | 2026-01-04T15:04:04.887474Z | false |
select2/select2 | https://github.com/select2/select2/blob/595494a72fee67b0a61c64701cbb72e3121f97b9/src/js/select2/i18n/bn.js | src/js/select2/i18n/bn.js | define(function () {
// Bangla
return {
errorLoading: function () {
return 'ফলাফলগুলি লোড করা যায়নি।';
},
inputTooLong: function (args) {
var overChars = args.input.length - args.maximum;
var message = 'অনুগ্রহ করে ' + overChars + ' টি অক্ষর মুছে দিন।';
i... | javascript | MIT | 595494a72fee67b0a61c64701cbb72e3121f97b9 | 2026-01-04T15:04:04.887474Z | false |
select2/select2 | https://github.com/select2/select2/blob/595494a72fee67b0a61c64701cbb72e3121f97b9/src/js/select2/i18n/vi.js | src/js/select2/i18n/vi.js | define(function () {
// Vietnamese
return {
inputTooLong: function (args) {
var overChars = args.input.length - args.maximum;
var message = 'Vui lòng xóa bớt ' + overChars + ' ký tự';
return message;
},
inputTooShort: function (args) {
var remainingChars = args.minimum - args.i... | javascript | MIT | 595494a72fee67b0a61c64701cbb72e3121f97b9 | 2026-01-04T15:04:04.887474Z | false |
select2/select2 | https://github.com/select2/select2/blob/595494a72fee67b0a61c64701cbb72e3121f97b9/src/js/select2/i18n/it.js | src/js/select2/i18n/it.js | define(function () {
// Italian
return {
errorLoading: function () {
return 'I risultati non possono essere caricati.';
},
inputTooLong: function (args) {
var overChars = args.input.length - args.maximum;
var message = 'Per favore cancella ' + overChars + ' caratter';
if (overC... | javascript | MIT | 595494a72fee67b0a61c64701cbb72e3121f97b9 | 2026-01-04T15:04:04.887474Z | false |
select2/select2 | https://github.com/select2/select2/blob/595494a72fee67b0a61c64701cbb72e3121f97b9/src/js/select2/i18n/az.js | src/js/select2/i18n/az.js | define(function () {
// Azerbaijani
return {
inputTooLong: function (args) {
var overChars = args.input.length - args.maximum;
return overChars + ' simvol silin';
},
inputTooShort: function (args) {
var remainingChars = args.minimum - args.input.length;
return remainingChars + ... | javascript | MIT | 595494a72fee67b0a61c64701cbb72e3121f97b9 | 2026-01-04T15:04:04.887474Z | false |
select2/select2 | https://github.com/select2/select2/blob/595494a72fee67b0a61c64701cbb72e3121f97b9/src/js/select2/i18n/mk.js | src/js/select2/i18n/mk.js | define(function () {
// Macedonian
return {
inputTooLong: function (args) {
var overChars = args.input.length - args.maximum;
var message = 'Ве молиме внесете ' + args.maximum + ' помалку карактер';
if (args.maximum !== 1) {
message += 'и';
}
return message;
},
i... | javascript | MIT | 595494a72fee67b0a61c64701cbb72e3121f97b9 | 2026-01-04T15:04:04.887474Z | false |
select2/select2 | https://github.com/select2/select2/blob/595494a72fee67b0a61c64701cbb72e3121f97b9/src/js/select2/i18n/sv.js | src/js/select2/i18n/sv.js | define(function () {
// Swedish
return {
errorLoading: function () {
return 'Resultat kunde inte laddas.';
},
inputTooLong: function (args) {
var overChars = args.input.length - args.maximum;
var message = 'Vänligen sudda ut ' + overChars + ' tecken';
return message;
},
... | javascript | MIT | 595494a72fee67b0a61c64701cbb72e3121f97b9 | 2026-01-04T15:04:04.887474Z | false |
select2/select2 | https://github.com/select2/select2/blob/595494a72fee67b0a61c64701cbb72e3121f97b9/src/js/select2/i18n/ca.js | src/js/select2/i18n/ca.js | define(function () {
// Catalan
return {
errorLoading: function () {
return 'La càrrega ha fallat';
},
inputTooLong: function (args) {
var overChars = args.input.length - args.maximum;
var message = 'Si us plau, elimina ' + overChars + ' car';
if (overChars == 1) {
mess... | javascript | MIT | 595494a72fee67b0a61c64701cbb72e3121f97b9 | 2026-01-04T15:04:04.887474Z | false |
select2/select2 | https://github.com/select2/select2/blob/595494a72fee67b0a61c64701cbb72e3121f97b9/src/js/select2/i18n/ka.js | src/js/select2/i18n/ka.js | define(function () {
// Georgian
return {
errorLoading: function () {
return 'მონაცემების ჩატვირთვა შეუძლებელია.';
},
inputTooLong: function (args) {
var overChars = args.input.length - args.maximum;
var message = 'გთხოვთ აკრიფეთ ' + overChars + ' სიმბოლოთი ნაკლები';
return mes... | javascript | MIT | 595494a72fee67b0a61c64701cbb72e3121f97b9 | 2026-01-04T15:04:04.887474Z | false |
select2/select2 | https://github.com/select2/select2/blob/595494a72fee67b0a61c64701cbb72e3121f97b9/src/js/select2/i18n/uk.js | src/js/select2/i18n/uk.js | define(function () {
// Ukrainian
function ending (count, one, couple, more) {
if (count % 100 > 10 && count % 100 < 15) {
return more;
}
if (count % 10 === 1) {
return one;
}
if (count % 10 > 1 && count % 10 < 5) {
return couple;
}
return more;
}
return {
erro... | javascript | MIT | 595494a72fee67b0a61c64701cbb72e3121f97b9 | 2026-01-04T15:04:04.887474Z | false |
select2/select2 | https://github.com/select2/select2/blob/595494a72fee67b0a61c64701cbb72e3121f97b9/src/js/select2/i18n/gl.js | src/js/select2/i18n/gl.js | define(function () {
// Galician
return {
errorLoading: function () {
return 'Non foi posíbel cargar os resultados.';
},
inputTooLong: function (args) {
var overChars = args.input.length - args.maximum;
if (overChars === 1) {
return 'Elimine un carácter';
}
return ... | javascript | MIT | 595494a72fee67b0a61c64701cbb72e3121f97b9 | 2026-01-04T15:04:04.887474Z | false |
select2/select2 | https://github.com/select2/select2/blob/595494a72fee67b0a61c64701cbb72e3121f97b9/src/js/select2/i18n/ja.js | src/js/select2/i18n/ja.js | define(function () {
// Japanese
return {
errorLoading: function () {
return '結果が読み込まれませんでした';
},
inputTooLong: function (args) {
var overChars = args.input.length - args.maximum;
var message = overChars + ' 文字を削除してください';
return message;
},
inputTooShort: function (args... | javascript | MIT | 595494a72fee67b0a61c64701cbb72e3121f97b9 | 2026-01-04T15:04:04.887474Z | false |
select2/select2 | https://github.com/select2/select2/blob/595494a72fee67b0a61c64701cbb72e3121f97b9/src/js/select2/dropdown/hidePlaceholder.js | src/js/select2/dropdown/hidePlaceholder.js | define([
], function () {
function HidePlaceholder (decorated, $element, options, dataAdapter) {
this.placeholder = this.normalizePlaceholder(options.get('placeholder'));
decorated.call(this, $element, options, dataAdapter);
}
HidePlaceholder.prototype.append = function (decorated, data) {
data.res... | javascript | MIT | 595494a72fee67b0a61c64701cbb72e3121f97b9 | 2026-01-04T15:04:04.887474Z | false |
select2/select2 | https://github.com/select2/select2/blob/595494a72fee67b0a61c64701cbb72e3121f97b9/src/js/select2/dropdown/selectOnClose.js | src/js/select2/dropdown/selectOnClose.js | define([
'../utils'
], function (Utils) {
function SelectOnClose () { }
SelectOnClose.prototype.bind = function (decorated, container, $container) {
var self = this;
decorated.call(this, container, $container);
container.on('close', function (params) {
self._handleSelectOnClose(params);
}... | javascript | MIT | 595494a72fee67b0a61c64701cbb72e3121f97b9 | 2026-01-04T15:04:04.887474Z | false |
select2/select2 | https://github.com/select2/select2/blob/595494a72fee67b0a61c64701cbb72e3121f97b9/src/js/select2/dropdown/dropdownCss.js | src/js/select2/dropdown/dropdownCss.js | define([
'../utils'
], function (Utils) {
function DropdownCSS () { }
DropdownCSS.prototype.render = function (decorated) {
var $dropdown = decorated.call(this);
var dropdownCssClass = this.options.get('dropdownCssClass') || '';
if (dropdownCssClass.indexOf(':all:') !== -1) {
dropdownCssClass... | javascript | MIT | 595494a72fee67b0a61c64701cbb72e3121f97b9 | 2026-01-04T15:04:04.887474Z | false |
select2/select2 | https://github.com/select2/select2/blob/595494a72fee67b0a61c64701cbb72e3121f97b9/src/js/select2/dropdown/attachContainer.js | src/js/select2/dropdown/attachContainer.js | define([
], function () {
function AttachContainer (decorated, $element, options) {
decorated.call(this, $element, options);
}
AttachContainer.prototype.position =
function (decorated, $dropdown, $container) {
var $dropdownContainer = $container.find('.dropdown-wrapper');
$dropdownContainer.appe... | javascript | MIT | 595494a72fee67b0a61c64701cbb72e3121f97b9 | 2026-01-04T15:04:04.887474Z | false |
select2/select2 | https://github.com/select2/select2/blob/595494a72fee67b0a61c64701cbb72e3121f97b9/src/js/select2/dropdown/minimumResultsForSearch.js | src/js/select2/dropdown/minimumResultsForSearch.js | define([
], function () {
function countResults (data) {
var count = 0;
for (var d = 0; d < data.length; d++) {
var item = data[d];
if (item.children) {
count += countResults(item.children);
} else {
count++;
}
}
return count;
}
function MinimumResultsF... | javascript | MIT | 595494a72fee67b0a61c64701cbb72e3121f97b9 | 2026-01-04T15:04:04.887474Z | false |
select2/select2 | https://github.com/select2/select2/blob/595494a72fee67b0a61c64701cbb72e3121f97b9/src/js/select2/dropdown/closeOnSelect.js | src/js/select2/dropdown/closeOnSelect.js | define([
], function () {
function CloseOnSelect () { }
CloseOnSelect.prototype.bind = function (decorated, container, $container) {
var self = this;
decorated.call(this, container, $container);
container.on('select', function (evt) {
self._selectTriggered(evt);
});
container.on('unse... | javascript | MIT | 595494a72fee67b0a61c64701cbb72e3121f97b9 | 2026-01-04T15:04:04.887474Z | false |
select2/select2 | https://github.com/select2/select2/blob/595494a72fee67b0a61c64701cbb72e3121f97b9/src/js/select2/dropdown/tagsSearchHighlight.js | src/js/select2/dropdown/tagsSearchHighlight.js | define([
'../utils'
], function (Utils) {
function TagsSearchHighlight () { }
TagsSearchHighlight.prototype.highlightFirstItem = function (decorated) {
var $options = this.$results
.find(
'.select2-results__option--selectable' +
':not(.select2-results__option--selected)'
);
if ($opti... | javascript | MIT | 595494a72fee67b0a61c64701cbb72e3121f97b9 | 2026-01-04T15:04:04.887474Z | false |
select2/select2 | https://github.com/select2/select2/blob/595494a72fee67b0a61c64701cbb72e3121f97b9/src/js/select2/dropdown/stopPropagation.js | src/js/select2/dropdown/stopPropagation.js | define([
], function () {
function StopPropagation () { }
StopPropagation.prototype.bind = function (decorated, container, $container) {
decorated.call(this, container, $container);
var stoppedEvents = [
'blur',
'change',
'click',
'dblclick',
'focus',
'focusin',
'focusout',
... | javascript | MIT | 595494a72fee67b0a61c64701cbb72e3121f97b9 | 2026-01-04T15:04:04.887474Z | false |
select2/select2 | https://github.com/select2/select2/blob/595494a72fee67b0a61c64701cbb72e3121f97b9/src/js/select2/dropdown/search.js | src/js/select2/dropdown/search.js | define([
'jquery'
], function ($) {
function Search () { }
Search.prototype.render = function (decorated) {
var $rendered = decorated.call(this);
var searchLabel = this.options.get('translations').get('search');
var $search = $(
'<span class="select2-search select2-search--dropdown">' +
... | javascript | MIT | 595494a72fee67b0a61c64701cbb72e3121f97b9 | 2026-01-04T15:04:04.887474Z | false |
select2/select2 | https://github.com/select2/select2/blob/595494a72fee67b0a61c64701cbb72e3121f97b9/src/js/select2/dropdown/attachBody.js | src/js/select2/dropdown/attachBody.js | define([
'jquery',
'../utils'
], function ($, Utils) {
function AttachBody (decorated, $element, options) {
this.$dropdownParent = $(options.get('dropdownParent') || document.body);
decorated.call(this, $element, options);
}
AttachBody.prototype.bind = function (decorated, container, $container) {
... | javascript | MIT | 595494a72fee67b0a61c64701cbb72e3121f97b9 | 2026-01-04T15:04:04.887474Z | false |
select2/select2 | https://github.com/select2/select2/blob/595494a72fee67b0a61c64701cbb72e3121f97b9/src/js/select2/dropdown/infiniteScroll.js | src/js/select2/dropdown/infiniteScroll.js | define([
'jquery'
], function ($) {
function InfiniteScroll (decorated, $element, options, dataAdapter) {
this.lastParams = {};
decorated.call(this, $element, options, dataAdapter);
this.$loadingMore = this.createLoadingMore();
this.loading = false;
}
InfiniteScroll.prototype.append = functio... | javascript | MIT | 595494a72fee67b0a61c64701cbb72e3121f97b9 | 2026-01-04T15:04:04.887474Z | false |
select2/select2 | https://github.com/select2/select2/blob/595494a72fee67b0a61c64701cbb72e3121f97b9/src/js/select2/selection/selectionCss.js | src/js/select2/selection/selectionCss.js | define([
'../utils'
], function (Utils) {
function SelectionCSS () { }
SelectionCSS.prototype.render = function (decorated) {
var $selection = decorated.call(this);
var selectionCssClass = this.options.get('selectionCssClass') || '';
if (selectionCssClass.indexOf(':all:') !== -1) {
selectionC... | javascript | MIT | 595494a72fee67b0a61c64701cbb72e3121f97b9 | 2026-01-04T15:04:04.887474Z | false |
select2/select2 | https://github.com/select2/select2/blob/595494a72fee67b0a61c64701cbb72e3121f97b9/src/js/select2/selection/base.js | src/js/select2/selection/base.js | define([
'jquery',
'../utils',
'../keys'
], function ($, Utils, KEYS) {
function BaseSelection ($element, options) {
this.$element = $element;
this.options = options;
BaseSelection.__super__.constructor.call(this);
}
Utils.Extend(BaseSelection, Utils.Observable);
BaseSelection.prototype.ren... | javascript | MIT | 595494a72fee67b0a61c64701cbb72e3121f97b9 | 2026-01-04T15:04:04.887474Z | false |
select2/select2 | https://github.com/select2/select2/blob/595494a72fee67b0a61c64701cbb72e3121f97b9/src/js/select2/selection/clickMask.js | src/js/select2/selection/clickMask.js | define([
'jquery'
], function ($) {
function ClickMask () { }
ClickMask.prototype.bind = function (decorate, $container, container) {
var self = this;
decorate.call(this, $container, container);
this.$mask = $(
'<div class="select2-close-mask"></div>'
);
this.$mask.on('mousedown touc... | javascript | MIT | 595494a72fee67b0a61c64701cbb72e3121f97b9 | 2026-01-04T15:04:04.887474Z | false |
select2/select2 | https://github.com/select2/select2/blob/595494a72fee67b0a61c64701cbb72e3121f97b9/src/js/select2/selection/eventRelay.js | src/js/select2/selection/eventRelay.js | define([
'jquery'
], function ($) {
function EventRelay () { }
EventRelay.prototype.bind = function (decorated, container, $container) {
var self = this;
var relayEvents = [
'open', 'opening',
'close', 'closing',
'select', 'selecting',
'unselect', 'unselecting',
'clear', 'cl... | javascript | MIT | 595494a72fee67b0a61c64701cbb72e3121f97b9 | 2026-01-04T15:04:04.887474Z | false |
select2/select2 | https://github.com/select2/select2/blob/595494a72fee67b0a61c64701cbb72e3121f97b9/src/js/select2/selection/multiple.js | src/js/select2/selection/multiple.js | define([
'jquery',
'./base',
'../utils'
], function ($, BaseSelection, Utils) {
function MultipleSelection ($element, options) {
MultipleSelection.__super__.constructor.apply(this, arguments);
}
Utils.Extend(MultipleSelection, BaseSelection);
MultipleSelection.prototype.render = function () {
va... | javascript | MIT | 595494a72fee67b0a61c64701cbb72e3121f97b9 | 2026-01-04T15:04:04.887474Z | false |
select2/select2 | https://github.com/select2/select2/blob/595494a72fee67b0a61c64701cbb72e3121f97b9/src/js/select2/selection/allowClear.js | src/js/select2/selection/allowClear.js | define([
'jquery',
'../keys',
'../utils'
], function ($, KEYS, Utils) {
function AllowClear () { }
AllowClear.prototype.bind = function (decorated, container, $container) {
var self = this;
decorated.call(this, container, $container);
if (this.placeholder == null) {
if (this.options.get('... | javascript | MIT | 595494a72fee67b0a61c64701cbb72e3121f97b9 | 2026-01-04T15:04:04.887474Z | false |
select2/select2 | https://github.com/select2/select2/blob/595494a72fee67b0a61c64701cbb72e3121f97b9/src/js/select2/selection/stopPropagation.js | src/js/select2/selection/stopPropagation.js | define([
], function () {
function StopPropagation () { }
StopPropagation.prototype.bind = function (decorated, container, $container) {
decorated.call(this, container, $container);
var stoppedEvents = [
'blur',
'change',
'click',
'dblclick',
'focus',
'focusin',
... | javascript | MIT | 595494a72fee67b0a61c64701cbb72e3121f97b9 | 2026-01-04T15:04:04.887474Z | false |
select2/select2 | https://github.com/select2/select2/blob/595494a72fee67b0a61c64701cbb72e3121f97b9/src/js/select2/selection/search.js | src/js/select2/selection/search.js | define([
'jquery',
'../utils',
'../keys'
], function ($, Utils, KEYS) {
function Search (decorated, $element, options) {
decorated.call(this, $element, options);
}
Search.prototype.render = function (decorated) {
var searchLabel = this.options.get('translations').get('search');
var $search = $(... | javascript | MIT | 595494a72fee67b0a61c64701cbb72e3121f97b9 | 2026-01-04T15:04:04.887474Z | false |
select2/select2 | https://github.com/select2/select2/blob/595494a72fee67b0a61c64701cbb72e3121f97b9/src/js/select2/selection/placeholder.js | src/js/select2/selection/placeholder.js | define([
], function () {
function Placeholder (decorated, $element, options) {
this.placeholder = this.normalizePlaceholder(options.get('placeholder'));
decorated.call(this, $element, options);
}
Placeholder.prototype.normalizePlaceholder = function (_, placeholder) {
if (typeof placeholder === 's... | javascript | MIT | 595494a72fee67b0a61c64701cbb72e3121f97b9 | 2026-01-04T15:04:04.887474Z | false |
select2/select2 | https://github.com/select2/select2/blob/595494a72fee67b0a61c64701cbb72e3121f97b9/src/js/select2/selection/single.js | src/js/select2/selection/single.js | define([
'jquery',
'./base',
'../utils',
'../keys'
], function ($, BaseSelection, Utils, KEYS) {
function SingleSelection () {
SingleSelection.__super__.constructor.apply(this, arguments);
}
Utils.Extend(SingleSelection, BaseSelection);
SingleSelection.prototype.render = function () {
var $sel... | javascript | MIT | 595494a72fee67b0a61c64701cbb72e3121f97b9 | 2026-01-04T15:04:04.887474Z | false |
select2/select2 | https://github.com/select2/select2/blob/595494a72fee67b0a61c64701cbb72e3121f97b9/src/js/select2/data/base.js | src/js/select2/data/base.js | define([
'../utils'
], function (Utils) {
function BaseAdapter ($element, options) {
BaseAdapter.__super__.constructor.call(this);
}
Utils.Extend(BaseAdapter, Utils.Observable);
BaseAdapter.prototype.current = function (callback) {
throw new Error('The `current` method must be defined in child class... | javascript | MIT | 595494a72fee67b0a61c64701cbb72e3121f97b9 | 2026-01-04T15:04:04.887474Z | false |
select2/select2 | https://github.com/select2/select2/blob/595494a72fee67b0a61c64701cbb72e3121f97b9/src/js/select2/data/ajax.js | src/js/select2/data/ajax.js | define([
'./array',
'../utils',
'jquery'
], function (ArrayAdapter, Utils, $) {
function AjaxAdapter ($element, options) {
this.ajaxOptions = this._applyDefaults(options.get('ajax'));
if (this.ajaxOptions.processResults != null) {
this.processResults = this.ajaxOptions.processResults;
}
... | javascript | MIT | 595494a72fee67b0a61c64701cbb72e3121f97b9 | 2026-01-04T15:04:04.887474Z | false |
select2/select2 | https://github.com/select2/select2/blob/595494a72fee67b0a61c64701cbb72e3121f97b9/src/js/select2/data/select.js | src/js/select2/data/select.js | define([
'./base',
'../utils',
'jquery'
], function (BaseAdapter, Utils, $) {
function SelectAdapter ($element, options) {
this.$element = $element;
this.options = options;
SelectAdapter.__super__.constructor.call(this);
}
Utils.Extend(SelectAdapter, BaseAdapter);
SelectAdapter.prototype.cu... | javascript | MIT | 595494a72fee67b0a61c64701cbb72e3121f97b9 | 2026-01-04T15:04:04.887474Z | false |
select2/select2 | https://github.com/select2/select2/blob/595494a72fee67b0a61c64701cbb72e3121f97b9/src/js/select2/data/tags.js | src/js/select2/data/tags.js | define([
'jquery'
], function ($) {
function Tags (decorated, $element, options) {
var tags = options.get('tags');
var createTag = options.get('createTag');
if (createTag !== undefined) {
this.createTag = createTag;
}
var insertTag = options.get('insertTag');
if (insertTag !== unde... | javascript | MIT | 595494a72fee67b0a61c64701cbb72e3121f97b9 | 2026-01-04T15:04:04.887474Z | false |
select2/select2 | https://github.com/select2/select2/blob/595494a72fee67b0a61c64701cbb72e3121f97b9/src/js/select2/data/array.js | src/js/select2/data/array.js | define([
'./select',
'../utils',
'jquery'
], function (SelectAdapter, Utils, $) {
function ArrayAdapter ($element, options) {
this._dataToConvert = options.get('data') || [];
ArrayAdapter.__super__.constructor.call(this, $element, options);
}
Utils.Extend(ArrayAdapter, SelectAdapter);
ArrayAdap... | javascript | MIT | 595494a72fee67b0a61c64701cbb72e3121f97b9 | 2026-01-04T15:04:04.887474Z | false |
select2/select2 | https://github.com/select2/select2/blob/595494a72fee67b0a61c64701cbb72e3121f97b9/src/js/select2/data/maximumInputLength.js | src/js/select2/data/maximumInputLength.js | define([
], function () {
function MaximumInputLength (decorated, $e, options) {
this.maximumInputLength = options.get('maximumInputLength');
decorated.call(this, $e, options);
}
MaximumInputLength.prototype.query = function (decorated, params, callback) {
params.term = params.term || '';
if (... | javascript | MIT | 595494a72fee67b0a61c64701cbb72e3121f97b9 | 2026-01-04T15:04:04.887474Z | false |
select2/select2 | https://github.com/select2/select2/blob/595494a72fee67b0a61c64701cbb72e3121f97b9/src/js/select2/data/tokenizer.js | src/js/select2/data/tokenizer.js | define([
'jquery'
], function ($) {
function Tokenizer (decorated, $element, options) {
var tokenizer = options.get('tokenizer');
if (tokenizer !== undefined) {
this.tokenizer = tokenizer;
}
decorated.call(this, $element, options);
}
Tokenizer.prototype.bind = function (decorated, conta... | javascript | MIT | 595494a72fee67b0a61c64701cbb72e3121f97b9 | 2026-01-04T15:04:04.887474Z | false |
select2/select2 | https://github.com/select2/select2/blob/595494a72fee67b0a61c64701cbb72e3121f97b9/src/js/select2/data/minimumInputLength.js | src/js/select2/data/minimumInputLength.js | define([
], function () {
function MinimumInputLength (decorated, $e, options) {
this.minimumInputLength = options.get('minimumInputLength');
decorated.call(this, $e, options);
}
MinimumInputLength.prototype.query = function (decorated, params, callback) {
params.term = params.term || '';
if (... | javascript | MIT | 595494a72fee67b0a61c64701cbb72e3121f97b9 | 2026-01-04T15:04:04.887474Z | false |
select2/select2 | https://github.com/select2/select2/blob/595494a72fee67b0a61c64701cbb72e3121f97b9/src/js/select2/data/maximumSelectionLength.js | src/js/select2/data/maximumSelectionLength.js | define([
], function (){
function MaximumSelectionLength (decorated, $e, options) {
this.maximumSelectionLength = options.get('maximumSelectionLength');
decorated.call(this, $e, options);
}
MaximumSelectionLength.prototype.bind =
function (decorated, container, $container) {
var self = this;
... | javascript | MIT | 595494a72fee67b0a61c64701cbb72e3121f97b9 | 2026-01-04T15:04:04.887474Z | false |
select2/select2 | https://github.com/select2/select2/blob/595494a72fee67b0a61c64701cbb72e3121f97b9/tests/helpers.js | tests/helpers.js | // Restore the require/define
var require = $.fn.select2.amd.require;
var define = $.fn.select2.amd.define;
// Disable jQuery's binding to $
jQuery.noConflict();
var Utils = require('select2/utils');
function MockContainer () {
MockContainer.__super__.constructor.call(this);
}
Utils.Extend(MockContainer, Utils.Ob... | javascript | MIT | 595494a72fee67b0a61c64701cbb72e3121f97b9 | 2026-01-04T15:04:04.887474Z | false |
select2/select2 | https://github.com/select2/select2/blob/595494a72fee67b0a61c64701cbb72e3121f97b9/tests/a11y/selection-tests.js | tests/a11y/selection-tests.js | QUnit.module('Accessibility - All');
var BaseSelection = require('select2/selection/base');
var SingleSelection = require('select2/selection/single');
var MultipleSelection = require('select2/selection/multiple');
var $ = require('jquery');
var Options = require('select2/options');
var options = new Options({});
QU... | javascript | MIT | 595494a72fee67b0a61c64701cbb72e3121f97b9 | 2026-01-04T15:04:04.887474Z | false |
select2/select2 | https://github.com/select2/select2/blob/595494a72fee67b0a61c64701cbb72e3121f97b9/tests/integration/jquery-calls.js | tests/integration/jquery-calls.js | QUnit.module('select2(val)');
var Utils = require('select2/utils');
QUnit.test('multiple elements with arguments works', function (assert) {
var $ = require('jquery');
require('jquery.select2');
var $first = $(
'<select>' +
'<option>1</option>' +
'<option>2</option>' +
'</select>'
);
va... | javascript | MIT | 595494a72fee67b0a61c64701cbb72e3121f97b9 | 2026-01-04T15:04:04.887474Z | false |
select2/select2 | https://github.com/select2/select2/blob/595494a72fee67b0a61c64701cbb72e3121f97b9/tests/integration/dom-changes.js | tests/integration/dom-changes.js | /*jshint browser: true */
QUnit.module('DOM integration');
QUnit.test('adding a new unselected option changes nothing', function (assert) {
// Any browsers which support mutation observers will not trigger the event
var expected = 4;
if (window.MutationObserver) {
expected = 2;
} else if (!window.addEventL... | javascript | MIT | 595494a72fee67b0a61c64701cbb72e3121f97b9 | 2026-01-04T15:04:04.887474Z | false |
select2/select2 | https://github.com/select2/select2/blob/595494a72fee67b0a61c64701cbb72e3121f97b9/tests/integration/select2-methods.js | tests/integration/select2-methods.js | QUnit.module('select2(data)');
var $ = require('jquery');
var Select2 = require('select2/core');
var Options = require('select2/options');
QUnit.test('single default selection returned', function (assert) {
var $select = $(
'<select>' +
'<option>One</option>' +
'<option>Two</option>' +
'<optio... | javascript | MIT | 595494a72fee67b0a61c64701cbb72e3121f97b9 | 2026-01-04T15:04:04.887474Z | false |
select2/select2 | https://github.com/select2/select2/blob/595494a72fee67b0a61c64701cbb72e3121f97b9/tests/vendor/jquery-4.0.0-beta.2.js | tests/vendor/jquery-4.0.0-beta.2.js | /*!
* jQuery JavaScript Library v4.0.0-beta.2
* https://jquery.com/
*
* Copyright OpenJS Foundation and other contributors
* Released under the MIT license
* https://jquery.org/license
*
* Date: 2024-07-17T13:32Z
*/
( function( global, factory ) {
"use strict";
if ( typeof module === "object" && typeof mod... | javascript | MIT | 595494a72fee67b0a61c64701cbb72e3121f97b9 | 2026-01-04T15:04:04.887474Z | true |
select2/select2 | https://github.com/select2/select2/blob/595494a72fee67b0a61c64701cbb72e3121f97b9/tests/vendor/jquery-1.12.4.js | tests/vendor/jquery-1.12.4.js | /*!
* jQuery JavaScript Library v1.12.4
* http://jquery.com/
*
* Includes Sizzle.js
* http://sizzlejs.com/
*
* Copyright jQuery Foundation and other contributors
* Released under the MIT license
* http://jquery.org/license
*
* Date: 2016-05-20T17:17Z
*/
(function( global, factory ) {
if ( typeof module =... | javascript | MIT | 595494a72fee67b0a61c64701cbb72e3121f97b9 | 2026-01-04T15:04:04.887474Z | true |
select2/select2 | https://github.com/select2/select2/blob/595494a72fee67b0a61c64701cbb72e3121f97b9/tests/vendor/qunit-2.22.0.js | tests/vendor/qunit-2.22.0.js | /*!
* QUnit 2.22.0
* https://qunitjs.com/
*
* Copyright OpenJS Foundation and other contributors
* Released under the MIT license
* https://jquery.org/license
*/
(function () {
'use strict';
function _arrayLikeToArray(r, a) {
(null == a || a > r.length) && (a = r.length);
for (var e = 0, n = Array(a... | javascript | MIT | 595494a72fee67b0a61c64701cbb72e3121f97b9 | 2026-01-04T15:04:04.887474Z | true |
select2/select2 | https://github.com/select2/select2/blob/595494a72fee67b0a61c64701cbb72e3121f97b9/tests/vendor/jquery.mockjax-2.7.0-beta.0.js | tests/vendor/jquery.mockjax-2.7.0-beta.0.js | /*! jQuery Mockjax
* A Plugin providing simple and flexible mocking of ajax requests and responses
*
* Version: 2.7.0-beta.0
* Home: https://github.com/jakerella/jquery-mockjax
* Copyright (c) 2024 Jordan Kasper, formerly appendTo;
* NOTE: This repository was taken over by Jordan Kasper (@jakerella) October, 201... | javascript | MIT | 595494a72fee67b0a61c64701cbb72e3121f97b9 | 2026-01-04T15:04:04.887474Z | true |
select2/select2 | https://github.com/select2/select2/blob/595494a72fee67b0a61c64701cbb72e3121f97b9/tests/vendor/jquery-3.4.1.js | tests/vendor/jquery-3.4.1.js | /*!
* jQuery JavaScript Library v3.4.1
* https://jquery.com/
*
* Includes Sizzle.js
* https://sizzlejs.com/
*
* Copyright JS Foundation and other contributors
* Released under the MIT license
* https://jquery.org/license
*
* Date: 2019-05-01T21:04Z
*/
( function( global, factory ) {
"use strict";
if ( t... | javascript | MIT | 595494a72fee67b0a61c64701cbb72e3121f97b9 | 2026-01-04T15:04:04.887474Z | true |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.