diff options
Diffstat (limited to 'public/bower_components/select2/src/js/jquery.shim.js')
-rw-r--r-- | public/bower_components/select2/src/js/jquery.shim.js | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/public/bower_components/select2/src/js/jquery.shim.js b/public/bower_components/select2/src/js/jquery.shim.js new file mode 100644 index 0000000..880993a --- /dev/null +++ b/public/bower_components/select2/src/js/jquery.shim.js @@ -0,0 +1,14 @@ +/* global jQuery:false, $:false */ +define(function () { + var _$ = jQuery || $; + + if (_$ == null && console && console.error) { + console.error( + 'Select2: An instance of jQuery or a jQuery-compatible library was not ' + + 'found. Make sure that you are including jQuery before Select2 on your ' + + 'web page.' + ); + } + + return _$; +}); |