aboutsummaryrefslogtreecommitdiff
path: root/js/dist/tooltip.js
diff options
context:
space:
mode:
authorXhmikosR <[email protected]>2021-05-05 22:32:12 +0300
committerGitHub <[email protected]>2021-05-05 22:32:12 +0300
commitbf0936748602c8109fd916c64b4560799fa1c3f8 (patch)
treed88687012f32cff8e7039bdc2d470565aa83cc59 /js/dist/tooltip.js
parent48ae5a7149d30d7d80cecbaaabaa88f7679c9172 (diff)
downloadbootstrap-5.0.0.tar.xz
bootstrap-5.0.0.zip
Release v5.0.0 (#33647)v5.0.0
* Bump version to 5.0.0 * Fix npm tag * Dist
Diffstat (limited to 'js/dist/tooltip.js')
-rw-r--r--js/dist/tooltip.js16
1 files changed, 7 insertions, 9 deletions
diff --git a/js/dist/tooltip.js b/js/dist/tooltip.js
index abd41edbc..c2ed72d4a 100644
--- a/js/dist/tooltip.js
+++ b/js/dist/tooltip.js
@@ -1,5 +1,5 @@
/*!
- * Bootstrap tooltip.js v5.0.0-beta3 (https://getbootstrap.com/)
+ * Bootstrap tooltip.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)
*/
@@ -40,7 +40,7 @@
/**
* --------------------------------------------------------------------------
- * Bootstrap (v5.0.0-beta3): util/index.js
+ * Bootstrap (v5.0.0): util/index.js
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
* --------------------------------------------------------------------------
*/
@@ -124,7 +124,7 @@
const valueType = value && isElement(value) ? 'element' : toType(value);
if (!new RegExp(expectedTypes).test(valueType)) {
- throw new TypeError(`${componentName.toUpperCase()}: ` + `Option "${property}" provided type "${valueType}" ` + `but expected type "${expectedTypes}".`);
+ throw new TypeError(`${componentName.toUpperCase()}: Option "${property}" provided type "${valueType}" but expected type "${expectedTypes}".`);
}
});
};
@@ -152,7 +152,7 @@
return findShadowRoot(element.parentNode);
};
- const noop = () => function () {};
+ const noop = () => {};
const getjQuery = () => {
const {
@@ -196,7 +196,7 @@
/**
* --------------------------------------------------------------------------
- * Bootstrap (v5.0.0-beta3): util/sanitizer.js
+ * Bootstrap (v5.0.0): util/sanitizer.js
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
* --------------------------------------------------------------------------
*/
@@ -309,7 +309,7 @@
/**
* --------------------------------------------------------------------------
- * Bootstrap (v5.0.0-beta3): tooltip.js
+ * Bootstrap (v5.0.0): tooltip.js
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
* --------------------------------------------------------------------------
*/
@@ -484,7 +484,6 @@
dispose() {
clearTimeout(this._timeout);
- EventHandler__default['default'].off(this._element, this.constructor.EVENT_KEY);
EventHandler__default['default'].off(this._element.closest(`.${CLASS_NAME_MODAL}`), 'hide.bs.modal', this._hideModalHandler);
if (this.tip && this.tip.parentNode) {
@@ -569,7 +568,7 @@
if ('ontouchstart' in document.documentElement) {
[].concat(...document.body.children).forEach(element => {
- EventHandler__default['default'].on(element, 'mouseover', noop());
+ EventHandler__default['default'].on(element, 'mouseover', noop);
});
}
@@ -768,7 +767,6 @@
modifiers: [{
name: 'flip',
options: {
- altBoundary: true,
fallbackPlacements: this.config.fallbackPlacements
}
}, {