Skip to content

Commit

Permalink
Bootstrap v3 does not currently claim to be compatible with jQuery v3;
Browse files Browse the repository at this point in the history
…closes twbs#16834

[skip sauce]
[skip validator]
  • Loading branch information
cvrebert committed Jul 27, 2015
1 parent ef1ce9a commit 9b1a213
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,6 @@
"test-infra"
],
"dependencies": {
"jquery": ">= 1.9.1"
"jquery": "1.9.1 - 2"
}
}
4 changes: 2 additions & 2 deletions grunt/configBridge.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
]
Expand Down

0 comments on commit 9b1a213

Please sign in to comment.