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
diff options
context:
space:
mode:
authorXhmikosR <xhmikosr@gmail.com>2015-09-19 10:26:12 +0300
committerXhmikosR <xhmikosr@gmail.com>2015-10-24 19:09:33 +0300
commit9eded912a05082a89ef30b899bbe659cb9ce254c (patch)
tree6cc70cf537941e62820858aafce365fe3d7bcf0e /Gruntfile.js
parenta50849f61b4bb8eedfafae40983f19373f8ccd18 (diff)
Make jQuery 2.0 the minimum supported version.
Diffstat (limited to 'Gruntfile.js')
-rw-r--r--Gruntfile.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/Gruntfile.js b/Gruntfile.js
index f3f3887662..c80834aa38 100644
--- a/Gruntfile.js
+++ b/Gruntfile.js
@@ -46,8 +46,8 @@ module.exports = function (grunt) {
'}\n',
jqueryVersionCheck: '+function ($) {\n' +
' var version = $.fn.jquery.split(\' \')[0].split(\'.\')\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 1.9.1 or higher\')\n' +
+ ' if (version[0] !== \'2\') {\n' +
+ ' throw new Error(\'Bootstrap\\\'s JavaScript requires jQuery version 2.x.x\')\n' +
' }\n' +
'}(jQuery);\n\n',