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:
authorXhmikosR <xhmikosr@gmail.com>2021-05-05 22:32:12 +0300
committerGitHub <noreply@github.com>2021-05-05 22:32:12 +0300
commitbf0936748602c8109fd916c64b4560799fa1c3f8 (patch)
treed88687012f32cff8e7039bdc2d470565aa83cc59 /js/dist/base-component.js
parent48ae5a7149d30d7d80cecbaaabaa88f7679c9172 (diff)
Release v5.0.0 (#33647)v5.0.0
* Bump version to 5.0.0 * Fix npm tag * Dist
Diffstat (limited to 'js/dist/base-component.js')
-rw-r--r--js/dist/base-component.js16
1 files changed, 9 insertions, 7 deletions
diff --git a/js/dist/base-component.js b/js/dist/base-component.js
index 2b9a4eff2a..a903bbb080 100644
--- a/js/dist/base-component.js
+++ b/js/dist/base-component.js
@@ -1,21 +1,22 @@
/*!
- * Bootstrap base-component.js v5.0.0-beta3 (https://getbootstrap.com/)
+ * Bootstrap base-component.js v5.0.0 (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')) :
- typeof define === 'function' && define.amd ? define(['./dom/data'], factory) :
- (global = typeof globalThis !== 'undefined' ? globalThis : global || self, global.Base = factory(global.Data));
-}(this, (function (Data) { '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 EventHandler__default = /*#__PURE__*/_interopDefaultLegacy(EventHandler);
/**
* --------------------------------------------------------------------------
- * Bootstrap (v5.0.0-beta3): base-component.js
+ * Bootstrap (v5.0.0): base-component.js
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
* --------------------------------------------------------------------------
*/
@@ -25,7 +26,7 @@
* ------------------------------------------------------------------------
*/
- const VERSION = '5.0.0-beta3';
+ const VERSION = '5.0.0';
class BaseComponent {
constructor(element) {
@@ -41,6 +42,7 @@
dispose() {
Data__default['default'].remove(this._element, this.constructor.DATA_KEY);
+ EventHandler__default['default'].off(this._element, `.${this.constructor.DATA_KEY}`);
this._element = null;
}
/** Static */