2017-09-05 21:05:12 -07:00
|
|
|
/**
|
|
|
|
* --------------------------------------------------------------------------
|
2020-10-13 18:38:30 +03:00
|
|
|
* Bootstrap (v4.5.3): index.js
|
2017-09-05 21:05:12 -07:00
|
|
|
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
|
|
|
|
* --------------------------------------------------------------------------
|
|
|
|
*/
|
2017-10-25 12:31:55 -07:00
|
|
|
(function ($) {
|
2017-10-15 15:51:44 -07:00
|
|
|
if (typeof $ === 'undefined') {
|
2018-01-11 22:42:40 -08:00
|
|
|
throw new TypeError('Bootstrap\'s JavaScript requires jQuery. jQuery must be included before Bootstrap\'s JavaScript.');
|
2017-09-05 21:05:12 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
var version = $.fn.jquery.split(' ')[0].split('.');
|
2017-10-19 09:13:17 -07:00
|
|
|
var minMajor = 1;
|
|
|
|
var ltMajor = 2;
|
|
|
|
var minMinor = 9;
|
|
|
|
var minPatch = 1;
|
|
|
|
var maxMajor = 4;
|
2017-09-30 14:28:03 -07:00
|
|
|
|
2017-10-19 09:13:17 -07:00
|
|
|
if (version[0] < ltMajor && version[1] < minMinor || version[0] === minMajor && version[1] === minMinor && version[2] < minPatch || version[0] >= maxMajor) {
|
|
|
|
throw new Error('Bootstrap\'s JavaScript requires at least jQuery v1.9.1 but less than v4.0.0');
|
2017-09-05 21:05:12 -07:00
|
|
|
}
|
2017-10-15 15:51:44 -07:00
|
|
|
})($);
|