diff --git a/select2.js b/select2.js index d5e3c4e7..58c1449b 100755 --- a/select2.js +++ b/select2.js @@ -267,12 +267,6 @@ }; } - // exports - window.Select2 = {query: {}, util: {}}; - window.Select2.util.debounce = debounce; - window.Select2.query.ajax = ajax; - window.Select2.query.local = local; - /** * blurs any Select2 container that has focus when an element outside them was clicked or received focus */ @@ -1247,4 +1241,18 @@ return (value === undefined) ? this : value; }; + // exports + window.Select2 = { + query: { + ajax: ajax, + local: local + }, util: { + debounce: debounce + }, "class": { + abstract: AbstractSelect2, + single: SingleSelect2, + multi: MultiSelect2 + } + }; + }(jQuery));