1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-02-23 09:41:11 +00:00

Run grunt.

[ci skip]
This commit is contained in:
XhmikosR 2015-11-16 09:53:03 +02:00
parent 1b645ef686
commit eea6690d0e
17 changed files with 412 additions and 828 deletions

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -10,8 +10,8 @@ if (typeof jQuery === 'undefined') {
+function ($) { +function ($) {
var version = $.fn.jquery.split(' ')[0].split('.') var version = $.fn.jquery.split(' ')[0].split('.')
if (version[0] !== '2') { if ((version[0] < 2 && version[1] < 9) || (version[0] == 1 && version[1] == 9 && version[2] < 1) || (version[0] >= 3)) {
throw new Error('Bootstrap\'s JavaScript requires jQuery version 2.x.x') throw new Error('Bootstrap\'s JavaScript requires at least jQuery v1.9.1 but less than v3.0.0')
} }
}(jQuery); }(jQuery);
@ -2768,8 +2768,8 @@ var Tooltip = (function ($) {
* Check for Tether dependency * Check for Tether dependency
* Tether - http://github.hubspot.com/tether/ * Tether - http://github.hubspot.com/tether/
*/ */
if (!window.Tether) { if (window.Tether === undefined) {
throw new Error("Bootstrap tooltips require Tether (http://github.hubspot.com/tether/)"); throw new Error('Bootstrap tooltips require Tether (http://github.hubspot.com/tether/)');
} }
/** /**

File diff suppressed because one or more lines are too long

View File

@ -36,8 +36,8 @@
* Check for Tether dependency * Check for Tether dependency
* Tether - http://github.hubspot.com/tether/ * Tether - http://github.hubspot.com/tether/
*/ */
if (!window.Tether) { if (window.Tether === undefined) {
throw new Error("Bootstrap tooltips require Tether (http://github.hubspot.com/tether/)"); throw new Error('Bootstrap tooltips require Tether (http://github.hubspot.com/tether/)');
} }
/** /**

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -10,8 +10,8 @@ if (typeof jQuery === 'undefined') {
+function ($) { +function ($) {
var version = $.fn.jquery.split(' ')[0].split('.') var version = $.fn.jquery.split(' ')[0].split('.')
if (version[0] !== '2') { if ((version[0] < 2 && version[1] < 9) || (version[0] == 1 && version[1] == 9 && version[2] < 1) || (version[0] >= 3)) {
throw new Error('Bootstrap\'s JavaScript requires jQuery version 2.x.x') throw new Error('Bootstrap\'s JavaScript requires at least jQuery v1.9.1 but less than v3.0.0')
} }
}(jQuery); }(jQuery);
@ -2764,6 +2764,14 @@ var Tab = (function ($) {
var Tooltip = (function ($) { var Tooltip = (function ($) {
/**
* Check for Tether dependency
* Tether - http://github.hubspot.com/tether/
*/
if (window.Tether === undefined) {
throw new Error('Bootstrap tooltips require Tether (http://github.hubspot.com/tether/)');
}
/** /**
* ------------------------------------------------------------------------ * ------------------------------------------------------------------------
* Constants * Constants

File diff suppressed because one or more lines are too long

View File

@ -32,6 +32,14 @@
var Tooltip = (function ($) { var Tooltip = (function ($) {
/**
* Check for Tether dependency
* Tether - http://github.hubspot.com/tether/
*/
if (window.Tether === undefined) {
throw new Error('Bootstrap tooltips require Tether (http://github.hubspot.com/tether/)');
}
/** /**
* ------------------------------------------------------------------------ * ------------------------------------------------------------------------
* Constants * Constants

4
js/dist/tooltip.js vendored
View File

@ -19,8 +19,8 @@ var Tooltip = (function ($) {
* Check for Tether dependency * Check for Tether dependency
* Tether - http://github.hubspot.com/tether/ * Tether - http://github.hubspot.com/tether/
*/ */
if (!window.Tether) { if (window.Tether === undefined) {
throw new Error("Bootstrap tooltips require Tether (http://github.hubspot.com/tether/)"); throw new Error('Bootstrap tooltips require Tether (http://github.hubspot.com/tether/)');
} }
/** /**

File diff suppressed because one or more lines are too long