Skip to content

Commit

Permalink
Update which required jQuery release folks should use
Browse files Browse the repository at this point in the history
  • Loading branch information
Johann-S authored and XhmikosR committed Aug 23, 2017
1 parent 6063b0d commit b72489a
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"Gruntfile.js"
],
"dependencies": {
"jquery": ">=1.9.1",
"jquery": ">=3.0.0",
"popper.js": "^1.11.0"
}
}
4 changes: 2 additions & 2 deletions build/stamp.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
2 changes: 1 addition & 1 deletion nuget/bootstrap.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
2 changes: 1 addition & 1 deletion nuget/bootstrap.sass.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down

0 comments on commit b72489a

Please sign in to comment.