1
0
mirror of https://gitlab.crans.org/bde/nk20 synced 2025-02-06 23:33:01 +00:00
nk20/static/vendor/select2/src/js/wrapper.end.js
Pierre-antoine Comby 70c09da9f8 add static files
2020-02-25 22:15:46 +01:00

13 lines
459 B
JavaScript

// Autoload the jQuery bindings
// We know that all of the modules exist above this, so we're safe
var select2 = S2.require('jquery.select2');
// Hold the AMD module references on the jQuery function that was just loaded
// This allows Select2 to use the internal loader outside of this file, such
// as in the language files.
jQuery.fn.select2.amd = S2;
// Return the Select2 instance for anyone who is importing it.
return select2;
}));