aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/twbs/bootstrap/js/dist/base-component.js
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2021-09-22 06:38:27 +0000
committerMario <mario@mariovavti.com>2021-09-22 06:38:27 +0000
commit89e4006b2d84d398e34d407a019854823b1dd37d (patch)
treeeed215c505af2395952b474917a92584f9e1866a /vendor/twbs/bootstrap/js/dist/base-component.js
parent26ac452c96ce499c140bcbae78643b8fe39b4243 (diff)
downloadvolse-hubzilla-89e4006b2d84d398e34d407a019854823b1dd37d.tar.gz
volse-hubzilla-89e4006b2d84d398e34d407a019854823b1dd37d.tar.bz2
volse-hubzilla-89e4006b2d84d398e34d407a019854823b1dd37d.zip
composer update bootstrap to version 5.1.1
Diffstat (limited to 'vendor/twbs/bootstrap/js/dist/base-component.js')
-rw-r--r--vendor/twbs/bootstrap/js/dist/base-component.js25
1 files changed, 15 insertions, 10 deletions
diff --git a/vendor/twbs/bootstrap/js/dist/base-component.js b/vendor/twbs/bootstrap/js/dist/base-component.js
index 18f7f25ea..9aadf3159 100644
--- a/vendor/twbs/bootstrap/js/dist/base-component.js
+++ b/vendor/twbs/bootstrap/js/dist/base-component.js
@@ -1,20 +1,25 @@
/*!
- * Bootstrap base-component.js v5.0.2 (https://getbootstrap.com/)
+ * Bootstrap base-component.js v5.1.1 (https://getbootstrap.com/)
* Copyright 2011-2021 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
*/
(function (global, factory) {
- typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory(require('./dom/data.js'), require('./dom/selector-engine.js'), require('./dom/event-handler.js')) :
- typeof define === 'function' && define.amd ? define(['./dom/data', './dom/selector-engine', './dom/event-handler'], factory) :
- (global = typeof globalThis !== 'undefined' ? globalThis : global || self, global.Base = factory(global.Data, global.SelectorEngine, global.EventHandler));
-}(this, (function (Data, SelectorEngine, EventHandler) { 'use strict';
+ typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory(require('./dom/data.js'), require('./dom/event-handler.js')) :
+ typeof define === 'function' && define.amd ? define(['./dom/data', './dom/event-handler'], factory) :
+ (global = typeof globalThis !== 'undefined' ? globalThis : global || self, global.Base = factory(global.Data, global.EventHandler));
+}(this, (function (Data, EventHandler) { 'use strict';
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
var Data__default = /*#__PURE__*/_interopDefaultLegacy(Data);
- var SelectorEngine__default = /*#__PURE__*/_interopDefaultLegacy(SelectorEngine);
var EventHandler__default = /*#__PURE__*/_interopDefaultLegacy(EventHandler);
+ /**
+ * --------------------------------------------------------------------------
+ * Bootstrap (v5.1.1): util/index.js
+ * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
+ * --------------------------------------------------------------------------
+ */
const MILLISECONDS_MULTIPLIER = 1000;
const TRANSITION_END = 'transitionend'; // Shoutout AngusCroll (https://goo.gl/pxwQGp)
@@ -64,7 +69,7 @@
}
if (typeof obj === 'string' && obj.length > 0) {
- return SelectorEngine__default['default'].findOne(obj);
+ return document.querySelector(obj);
}
return null;
@@ -108,7 +113,7 @@
/**
* --------------------------------------------------------------------------
- * Bootstrap (v5.0.2): base-component.js
+ * Bootstrap (v5.1.1): base-component.js
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
* --------------------------------------------------------------------------
*/
@@ -118,7 +123,7 @@
* ------------------------------------------------------------------------
*/
- const VERSION = '5.0.2';
+ const VERSION = '5.1.1';
class BaseComponent {
constructor(element) {
@@ -147,7 +152,7 @@
static getInstance(element) {
- return Data__default['default'].get(element, this.DATA_KEY);
+ return Data__default['default'].get(getElement(element), this.DATA_KEY);
}
static getOrCreateInstance(element, config = {}) {