mirror of
https://gitlab.crans.org/bde/nk20
synced 2025-06-30 05:01:10 +02:00
add static files
This commit is contained in:
14
static/vendor/select2/src/js/jquery.shim.js
vendored
Normal file
14
static/vendor/select2/src/js/jquery.shim.js
vendored
Normal file
@ -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 _$;
|
||||
});
|
Reference in New Issue
Block a user