aboutsummaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authorJohann-S <[email protected]>2017-08-22 20:28:04 +0200
committerXhmikosR <[email protected]>2017-08-23 09:55:09 +0300
commitb72489a8515a90f3e45baf3d0bf19df9ccafff93 (patch)
treebc150526a58b37b23fb378ed6c61f677b91baa78 /build
parent6063b0dc659e7ba3a83cfc9502ad7872f8201a32 (diff)
downloadbootstrap-b72489a8515a90f3e45baf3d0bf19df9ccafff93.tar.xz
bootstrap-b72489a8515a90f3e45baf3d0bf19df9ccafff93.zip
Update which required jQuery release folks should use
Diffstat (limited to 'build')
-rw-r--r--build/stamp.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/build/stamp.js b/build/stamp.js
index f1868d879..8cde189d7 100644
--- a/build/stamp.js
+++ b/build/stamp.js
@@ -21,8 +21,8 @@ if (typeof jQuery === 'undefined') {
(function ($) {
var version = $.fn.jquery.split(' ')[0].split('.')
- if ((version[0] < 2 && version[1] < 9) || (version[0] == 1 && version[1] == 9 && version[2] < 1) || (version[0] >= 4)) {
- throw new Error('Bootstrap\\'s JavaScript requires at least jQuery v1.9.1 but less than v4.0.0')
+ if ((version[0] < 3) || (version[0] >= 4)) {
+ throw new Error('Bootstrap\\'s JavaScript requires at least jQuery v3.0.0 but less than v4.0.0')
}
})(jQuery);