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 <code@rebertia.com>2015-07-28 02:35:02 +0300
committerChris Rebert <code@rebertia.com>2015-07-28 02:35:04 +0300
commit9b1a213cf758e1b60e20c59a721a63e13da098f7 (patch)
tree00d5a92766a3b18221e118d4ad777289b7825374 /grunt
parentef1ce9ac0bbe7dbd513c2d603e3541fcdeac24ef (diff)
Bootstrap v3 does not currently claim to be compatible with jQuery v3; closes #16834
[skip sauce] [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 8ce4c3d9a3..0d93f4a66c 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)) {",
- " throw new Error('Bootstrap\\'s JavaScript requires jQuery version 1.9.1 or higher')",
+ " 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')",
" }",
"}(jQuery);\n\n"
]