From b72489a8515a90f3e45baf3d0bf19df9ccafff93 Mon Sep 17 00:00:00 2001 From: Johann-S Date: Tue, 22 Aug 2017 20:28:04 +0200 Subject: [PATCH] Update which required jQuery release folks should use --- bower.json | 2 +- build/stamp.js | 4 ++-- nuget/bootstrap.nuspec | 2 +- nuget/bootstrap.sass.nuspec | 2 +- package.json | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/bower.json b/bower.json index b6d04477ea..53fd274173 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 f1868d8795..8cde189d7f 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 4e843c3e3c..6cbc5b4025 100644 --- a/nuget/bootstrap.nuspec +++ b/nuget/bootstrap.nuspec @@ -16,7 +16,7 @@ Copyright 2017 false - + css mobile-first responsive front-end framework web diff --git a/nuget/bootstrap.sass.nuspec b/nuget/bootstrap.sass.nuspec index 92e1ff54fa..0bd14e3ea3 100644 --- a/nuget/bootstrap.sass.nuspec +++ b/nuget/bootstrap.sass.nuspec @@ -16,7 +16,7 @@ Copyright 2017 false - + css sass mobile-first responsive front-end framework web diff --git a/package.json b/package.json index b703c6af2c..700990153b 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": {