aboutsummaryrefslogtreecommitdiff
path: root/dist/js/bootstrap.bundle.js
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2017-10-19 09:13:17 -0700
committerMark Otto <[email protected]>2017-10-19 09:13:17 -0700
commit6124e7f229c07424a41e716968a93a12fb22b608 (patch)
tree5d9789f8d618d8512318d6ced67d3d4747631b19 /dist/js/bootstrap.bundle.js
parent06641ca0b3fe28021907f30c6f297d40f789f2fa (diff)
downloadbootstrap-6124e7f229c07424a41e716968a93a12fb22b608.tar.xz
bootstrap-6124e7f229c07424a41e716968a93a12fb22b608.zip
dist
Diffstat (limited to 'dist/js/bootstrap.bundle.js')
-rw-r--r--dist/js/bootstrap.bundle.js13
1 files changed, 8 insertions, 5 deletions
diff --git a/dist/js/bootstrap.bundle.js b/dist/js/bootstrap.bundle.js
index dcdef72ee..db82936aa 100644
--- a/dist/js/bootstrap.bundle.js
+++ b/dist/js/bootstrap.bundle.js
@@ -6258,11 +6258,14 @@ var Tab = function () {
}
var version = $.fn.jquery.split(' ')[0].split('.');
- var min = 3;
- var max = 4;
-
- if (version[0] < min || version[0] >= max) {
- throw new Error('Bootstrap\'s JavaScript requires at least jQuery v3.0.0 but less than v4.0.0');
+ var minMajor = 1;
+ var ltMajor = 2;
+ var minMinor = 9;
+ var minPatch = 1;
+ var maxMajor = 4;
+
+ 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');
}
})($);