Commit eea6690d authored by XhmikosR's avatar XhmikosR
Browse files

Run `grunt`.

[ci skip]
parent 1b645ef6
Showing with 406 additions and 822 deletions
+406 -822
This diff is collapsed.
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
This diff is collapsed.
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
......@@ -10,8 +10,8 @@ if (typeof jQuery === 'undefined') {
+function ($) {
var version = $.fn.jquery.split(' ')[0].split('.')
if (version[0] !== '2') {
throw new Error('Bootstrap\'s JavaScript requires jQuery version 2.x.x')
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 at least jQuery v1.9.1 but less than v3.0.0')
}
}(jQuery);
......@@ -2768,8 +2768,8 @@ var Tooltip = (function ($) {
* Check for Tether dependency
* Tether - http://github.hubspot.com/tether/
*/
if (!window.Tether) {
throw new Error("Bootstrap tooltips require Tether (http://github.hubspot.com/tether/)");
if (window.Tether === undefined) {
throw new Error('Bootstrap tooltips require Tether (http://github.hubspot.com/tether/)');
}
/**
......
This diff is collapsed.
......@@ -36,8 +36,8 @@
* Check for Tether dependency
* Tether - http://github.hubspot.com/tether/
*/
if (!window.Tether) {
throw new Error("Bootstrap tooltips require Tether (http://github.hubspot.com/tether/)");
if (window.Tether === undefined) {
throw new Error('Bootstrap tooltips require Tether (http://github.hubspot.com/tether/)');
}
/**
......
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
This diff is collapsed.
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
This diff is collapsed.
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
......@@ -10,8 +10,8 @@ if (typeof jQuery === 'undefined') {
+function ($) {
var version = $.fn.jquery.split(' ')[0].split('.')
if (version[0] !== '2') {
throw new Error('Bootstrap\'s JavaScript requires jQuery version 2.x.x')
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 at least jQuery v1.9.1 but less than v3.0.0')
}
}(jQuery);
......@@ -2764,6 +2764,14 @@ var Tab = (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
......
This diff is collapsed.
......@@ -32,6 +32,14 @@
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
......
......@@ -19,8 +19,8 @@ var Tooltip = (function ($) {
* Check for Tether dependency
* Tether - http://github.hubspot.com/tether/
*/
if (!window.Tether) {
throw new Error("Bootstrap tooltips require Tether (http://github.hubspot.com/tether/)");
if (window.Tether === undefined) {
throw new Error('Bootstrap tooltips require Tether (http://github.hubspot.com/tether/)');
}
/**
......
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment