OSDN Git Service

Modify the dependency on path
[bytom/vapor.git] / tools / side_chain_tool / web / node_modules / bootstrap / js / dist / index.js
1 /**
2  * --------------------------------------------------------------------------
3  * Bootstrap (v4.1.3): index.js
4  * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
5  * --------------------------------------------------------------------------
6  */
7 (function ($) {
8   if (typeof $ === 'undefined') {
9     throw new TypeError('Bootstrap\'s JavaScript requires jQuery. jQuery must be included before Bootstrap\'s JavaScript.');
10   }
11
12   var version = $.fn.jquery.split(' ')[0].split('.');
13   var minMajor = 1;
14   var ltMajor = 2;
15   var minMinor = 9;
16   var minPatch = 1;
17   var maxMajor = 4;
18
19   if (version[0] < ltMajor && version[1] < minMinor || version[0] === minMajor && version[1] === minMinor && version[2] < minPatch || version[0] >= maxMajor) {
20     throw new Error('Bootstrap\'s JavaScript requires at least jQuery v1.9.1 but less than v4.0.0');
21   }
22 })($);
23 //# sourceMappingURL=index.js.map