diff options
Diffstat (limited to 'public/bower_components/select2/src/js/wrapper.end.js')
-rw-r--r-- | public/bower_components/select2/src/js/wrapper.end.js | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/public/bower_components/select2/src/js/wrapper.end.js b/public/bower_components/select2/src/js/wrapper.end.js new file mode 100644 index 0000000..4367829 --- /dev/null +++ b/public/bower_components/select2/src/js/wrapper.end.js @@ -0,0 +1,12 @@ + // 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; +})); |