nk20/static/vendor/select2/src/js/jquery.shim.js

15 lines
357 B
JavaScript

/* 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 _$;
});