mirror of
https://github.com/twbs/bootstrap.git
synced 2024-11-28 10:24:19 +01:00
Update which required jQuery release folks should use
This commit is contained in:
parent
6063b0dc65
commit
b72489a851
@ -31,7 +31,7 @@
|
||||
"Gruntfile.js"
|
||||
],
|
||||
"dependencies": {
|
||||
"jquery": ">=1.9.1",
|
||||
"jquery": ">=3.0.0",
|
||||
"popper.js": "^1.11.0"
|
||||
}
|
||||
}
|
||||
|
@ -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);
|
||||
|
||||
|
@ -16,7 +16,7 @@
|
||||
<copyright>Copyright 2017</copyright>
|
||||
<requireLicenseAcceptance>false</requireLicenseAcceptance>
|
||||
<dependencies>
|
||||
<dependency id="jQuery" version="[1.9.1,4)" />
|
||||
<dependency id="jQuery" version="[3.0.0,4)" />
|
||||
<dependency id="popper.js" version="[1.11,2)" />
|
||||
</dependencies>
|
||||
<tags>css mobile-first responsive front-end framework web</tags>
|
||||
|
@ -16,7 +16,7 @@
|
||||
<copyright>Copyright 2017</copyright>
|
||||
<requireLicenseAcceptance>false</requireLicenseAcceptance>
|
||||
<dependencies>
|
||||
<dependency id="jQuery" version="[1.9.1,4)" />
|
||||
<dependency id="jQuery" version="[3.0.0,4)" />
|
||||
<dependency id="popper.js" version="[1.11,2)" />
|
||||
</dependencies>
|
||||
<tags>css sass mobile-first responsive front-end framework web</tags>
|
||||
|
@ -67,7 +67,7 @@
|
||||
"license": "MIT",
|
||||
"dependencies": {},
|
||||
"peerDependencies": {
|
||||
"jquery": ">=3.0.0",
|
||||
"jquery": "3.0.0 - 4.0.0",
|
||||
"popper.js": "^1.11.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
Loading…
Reference in New Issue
Block a user