Initial commit
This commit is contained in:
14
public/assets/libs/select2/src/js/jquery.shim.js
vendored
Executable file
14
public/assets/libs/select2/src/js/jquery.shim.js
vendored
Executable 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