Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'js/dist/carousel.js')
-rw-r--r--js/dist/carousel.js18
1 files changed, 9 insertions, 9 deletions
diff --git a/js/dist/carousel.js b/js/dist/carousel.js
index 25222f932e..81478e15af 100644
--- a/js/dist/carousel.js
+++ b/js/dist/carousel.js
@@ -1,13 +1,13 @@
/*!
* Bootstrap carousel.js v4.2.1 (https://getbootstrap.com/)
- * Copyright 2011-2018 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
+ * Copyright 2011-2019 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
*/
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory(require('jquery'), require('./util.js')) :
typeof define === 'function' && define.amd ? define(['jquery', './util.js'], factory) :
- (global.Carousel = factory(global.jQuery,global.Util));
-}(this, (function ($,Util) { 'use strict';
+ (global = global || self, global.Carousel = factory(global.jQuery, global.Util));
+}(this, function ($, Util) { 'use strict';
$ = $ && $.hasOwnProperty('default') ? $['default'] : $;
Util = Util && Util.hasOwnProperty('default') ? Util['default'] : Util;
@@ -264,8 +264,8 @@
this._isSliding = null;
this._activeElement = null;
this._indicatorsElement = null;
- }; // Private
-
+ } // Private
+ ;
_proto._getConfig = function _getConfig(config) {
config = _objectSpread({}, Default, config);
@@ -550,8 +550,8 @@
if (isCycling) {
this.cycle();
}
- }; // Static
-
+ } // Static
+ ;
Carousel._jQueryInterface = function _jQueryInterface(config) {
return this.each(function () {
@@ -578,7 +578,7 @@
}
data[action]();
- } else if (_config.interval) {
+ } else if (_config.interval && _config.ride) {
data.pause();
data.cycle();
}
@@ -662,5 +662,5 @@
return Carousel;
-})));
+}));
//# sourceMappingURL=carousel.js.map