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