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 ($) {
|
+function ($) {
|
||||||
|
'use strict';
|
||||||
var version = $.fn.jquery.split(' ')[0].split('.')
|
var version = $.fn.jquery.split(' ')[0].split('.')
|
||||||
if ((version[0] < 2 && version[1] < 9) || (version[0] == 1 && version[1] == 9 && version[2] < 1)) {
|
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')
|
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