mirror of
https://github.com/Hopiu/bootstrap.git
synced 2026-05-24 03:03:42 +00:00
Revert "Make jQuery 2.0 the minimum supported version."
This partially reverts commit 9eded912a0.
This commit is contained in:
parent
7a2ba9a224
commit
add3ce38f7
2 changed files with 3 additions and 3 deletions
|
|
@ -63,8 +63,8 @@ module.exports = function (grunt) {
|
||||||
'}\n',
|
'}\n',
|
||||||
jqueryVersionCheck: '+function ($) {\n' +
|
jqueryVersionCheck: '+function ($) {\n' +
|
||||||
' var version = $.fn.jquery.split(\' \')[0].split(\'.\')\n' +
|
' var version = $.fn.jquery.split(\' \')[0].split(\'.\')\n' +
|
||||||
' if (version[0] !== \'2\') {\n' +
|
' if ((version[0] < 2 && version[1] < 9) || (version[0] == 1 && version[1] == 9 && version[2] < 1)) {\n' +
|
||||||
' throw new Error(\'Bootstrap\\\'s JavaScript requires jQuery version 2.x.x\')\n' +
|
' throw new Error(\'Bootstrap\\\'s JavaScript requires jQuery version 1.9.1 or higher\')\n' +
|
||||||
' }\n' +
|
' }\n' +
|
||||||
'}(jQuery);\n\n',
|
'}(jQuery);\n\n',
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -29,6 +29,6 @@
|
||||||
"test-infra"
|
"test-infra"
|
||||||
],
|
],
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"jquery": "2"
|
"jquery": "1.9.1 - 2"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue