diff options
| author | XhmikosR <[email protected]> | 2015-09-19 10:26:12 +0300 |
|---|---|---|
| committer | XhmikosR <[email protected]> | 2015-10-24 19:09:33 +0300 |
| commit | 9eded912a05082a89ef30b899bbe659cb9ce254c (patch) | |
| tree | 6cc70cf537941e62820858aafce365fe3d7bcf0e /grunt | |
| parent | a50849f61b4bb8eedfafae40983f19373f8ccd18 (diff) | |
| download | bootstrap-9eded912a05082a89ef30b899bbe659cb9ce254c.tar.xz bootstrap-9eded912a05082a89ef30b899bbe659cb9ce254c.zip | |
Make jQuery 2.0 the minimum supported version.
Diffstat (limited to 'grunt')
| -rw-r--r-- | grunt/configBridge.json | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/grunt/configBridge.json b/grunt/configBridge.json index 250aa1677..7b965bbb5 100644 --- a/grunt/configBridge.json +++ b/grunt/configBridge.json @@ -7,21 +7,5 @@ "../assets/js/vendor/tether.min.js", "../assets/js/src/application.js" ] - }, - "config": { - "jqueryCheck": [ - "if (typeof jQuery === 'undefined') {", - " throw new Error('Bootstrap\\'s JavaScript requires jQuery')", - "}\n" - ], - "jqueryVersionCheck": [ - "+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')", - " }", - "}(jQuery);\n\n" - ] } } |
