mirror of https://github.com/twbs/bootstrap.git
automatic grunt dist
This commit is contained in:
parent
0dc8395590
commit
9fdf7a26e1
|
@ -9,6 +9,7 @@ if (typeof jQuery === 'undefined') {
|
|||
}
|
||||
|
||||
+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')
|
||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue