Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/grunt
diff options
context:
space:
mode:
authorChris Rebert <github@chrisrebert.com>2016-07-21 18:14:21 +0300
committerGitHub <noreply@github.com>2016-07-21 18:14:21 +0300
commitedefe0e77a39149f971c4215301f7f8a7f15f210 (patch)
treefc3e5faf977881d9c6a735ead7c8d126355fc7ef /grunt
parentc2404d30e90450f806e5782738a24ddda774f3bf (diff)
Update jQuery version check and jQuery dependency version range (#20338)
Closes #16834 [skip validator]
Diffstat (limited to 'grunt')
-rw-r--r--grunt/configBridge.json4
1 files changed, 2 insertions, 2 deletions
diff --git a/grunt/configBridge.json b/grunt/configBridge.json
index 45cf98b88d..9d1a142f21 100644
--- a/grunt/configBridge.json
+++ b/grunt/configBridge.json
@@ -37,8 +37,8 @@
"+function ($) {",
" 'use strict';",
" 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] > 2)) {",
- " throw new Error('Bootstrap\\'s JavaScript requires jQuery version 1.9.1 or higher, but lower than version 3')",
+ " if ((version[0] < 2 && version[1] < 9) || (version[0] == 1 && version[1] == 9 && version[2] < 1) || (version[0] > 3)) {",
+ " throw new Error('Bootstrap\\'s JavaScript requires jQuery version 1.9.1 or higher, but lower than version 4')",
" }",
"}(jQuery);\n\n"
]