1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-17 19:06:40 +02:00

Update which required jQuery release folks should use

This commit is contained in:
Johann-S
2017-08-22 20:28:04 +02:00
committed by XhmikosR
parent 6063b0dc65
commit b72489a851
5 changed files with 6 additions and 6 deletions

View File

@@ -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);