0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-12-01 13:24:25 +01:00

automatic grunt dist

This commit is contained in:
Bootstrap's Grunt bot 2015-01-13 20:31:25 +00:00
parent 0dc8395590
commit 9fdf7a26e1
2 changed files with 2 additions and 1 deletions

View File

@ -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