diff options
author | XhmikosR <xhmikosr@gmail.com> | 2021-10-05 18:50:18 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-05 18:50:18 +0300 |
commit | 5ecef8ac010249536f92206af500f8670813c8a8 (patch) | |
tree | 26b271f1901b70b5a6f4b25ef72186a04f51c665 /js/dist/base-component.js | |
parent | a2aa8c5a6e8c37fa605ca31111c6529629d32b3f (diff) |
Release v5.1.2 (#35114)v5.1.2
Diffstat (limited to 'js/dist/base-component.js')
-rw-r--r-- | js/dist/base-component.js | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/js/dist/base-component.js b/js/dist/base-component.js index 9aadf31594..741d554637 100644 --- a/js/dist/base-component.js +++ b/js/dist/base-component.js @@ -1,5 +1,5 @@ /*! - * Bootstrap base-component.js v5.1.1 (https://getbootstrap.com/) + * Bootstrap base-component.js v5.1.2 (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) */ @@ -7,16 +7,16 @@ 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'; +})(this, (function (Data, EventHandler) { 'use strict'; - function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; } + const _interopDefaultLegacy = e => e && typeof e === 'object' && 'default' in e ? e : { default: e }; - var Data__default = /*#__PURE__*/_interopDefaultLegacy(Data); - var EventHandler__default = /*#__PURE__*/_interopDefaultLegacy(EventHandler); + const Data__default = /*#__PURE__*/_interopDefaultLegacy(Data); + const EventHandler__default = /*#__PURE__*/_interopDefaultLegacy(EventHandler); /** * -------------------------------------------------------------------------- - * Bootstrap (v5.1.1): util/index.js + * Bootstrap (v5.1.2): util/index.js * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) * -------------------------------------------------------------------------- */ @@ -113,7 +113,7 @@ /** * -------------------------------------------------------------------------- - * Bootstrap (v5.1.1): base-component.js + * Bootstrap (v5.1.2): base-component.js * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) * -------------------------------------------------------------------------- */ @@ -123,7 +123,7 @@ * ------------------------------------------------------------------------ */ - const VERSION = '5.1.1'; + const VERSION = '5.1.2'; class BaseComponent { constructor(element) { @@ -134,12 +134,12 @@ } this._element = element; - Data__default['default'].set(this._element, this.constructor.DATA_KEY, this); + Data__default.default.set(this._element, this.constructor.DATA_KEY, this); } dispose() { - Data__default['default'].remove(this._element, this.constructor.DATA_KEY); - EventHandler__default['default'].off(this._element, this.constructor.EVENT_KEY); + Data__default.default.remove(this._element, this.constructor.DATA_KEY); + EventHandler__default.default.off(this._element, this.constructor.EVENT_KEY); Object.getOwnPropertyNames(this).forEach(propertyName => { this[propertyName] = null; }); @@ -152,7 +152,7 @@ static getInstance(element) { - return Data__default['default'].get(getElement(element), this.DATA_KEY); + return Data__default.default.get(getElement(element), this.DATA_KEY); } static getOrCreateInstance(element, config = {}) { @@ -179,5 +179,5 @@ return BaseComponent; -}))); +})); //# sourceMappingURL=base-component.js.map |