diff options
| author | Johann-S <[email protected]> | 2017-08-22 20:28:04 +0200 |
|---|---|---|
| committer | XhmikosR <[email protected]> | 2017-08-23 09:55:09 +0300 |
| commit | b72489a8515a90f3e45baf3d0bf19df9ccafff93 (patch) | |
| tree | bc150526a58b37b23fb378ed6c61f677b91baa78 | |
| parent | 6063b0dc659e7ba3a83cfc9502ad7872f8201a32 (diff) | |
| download | bootstrap-b72489a8515a90f3e45baf3d0bf19df9ccafff93.tar.xz bootstrap-b72489a8515a90f3e45baf3d0bf19df9ccafff93.zip | |
Update which required jQuery release folks should use
| -rw-r--r-- | bower.json | 2 | ||||
| -rw-r--r-- | build/stamp.js | 4 | ||||
| -rw-r--r-- | nuget/bootstrap.nuspec | 2 | ||||
| -rw-r--r-- | nuget/bootstrap.sass.nuspec | 2 | ||||
| -rw-r--r-- | package.json | 2 |
5 files changed, 6 insertions, 6 deletions
diff --git a/bower.json b/bower.json index b6d04477e..53fd27417 100644 --- a/bower.json +++ b/bower.json @@ -31,7 +31,7 @@ "Gruntfile.js" ], "dependencies": { - "jquery": ">=1.9.1", + "jquery": ">=3.0.0", "popper.js": "^1.11.0" } } 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); diff --git a/nuget/bootstrap.nuspec b/nuget/bootstrap.nuspec index 4e843c3e3..6cbc5b402 100644 --- a/nuget/bootstrap.nuspec +++ b/nuget/bootstrap.nuspec @@ -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> diff --git a/nuget/bootstrap.sass.nuspec b/nuget/bootstrap.sass.nuspec index 92e1ff54f..0bd14e3ea 100644 --- a/nuget/bootstrap.sass.nuspec +++ b/nuget/bootstrap.sass.nuspec @@ -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> diff --git a/package.json b/package.json index b703c6af2..700990153 100644 --- a/package.json +++ b/package.json @@ -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": { |
