diff options
author | XhmikosR <xhmikosr@gmail.com> | 2021-05-05 22:32:12 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-05 22:32:12 +0300 |
commit | bf0936748602c8109fd916c64b4560799fa1c3f8 (patch) | |
tree | d88687012f32cff8e7039bdc2d470565aa83cc59 /js/dist/toast.js | |
parent | 48ae5a7149d30d7d80cecbaaabaa88f7679c9172 (diff) |
Release v5.0.0 (#33647)v5.0.0
* Bump version to 5.0.0
* Fix npm tag
* Dist
Diffstat (limited to 'js/dist/toast.js')
-rw-r--r-- | js/dist/toast.js | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/js/dist/toast.js b/js/dist/toast.js index 6fd9e15cc1..c10c4f40ac 100644 --- a/js/dist/toast.js +++ b/js/dist/toast.js @@ -1,5 +1,5 @@ /*! - * Bootstrap toast.js v5.0.0-beta3 (https://getbootstrap.com/) + * Bootstrap toast.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) */ @@ -18,7 +18,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) * -------------------------------------------------------------------------- */ @@ -87,7 +87,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}".`); } }); }; @@ -134,7 +134,7 @@ /** * -------------------------------------------------------------------------- - * Bootstrap (v5.0.0-beta3): toast.js + * Bootstrap (v5.0.0): toast.js * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) * -------------------------------------------------------------------------- */ @@ -273,7 +273,6 @@ this._element.classList.remove(CLASS_NAME_SHOW); } - EventHandler__default['default'].off(this._element, EVENT_CLICK_DISMISS); super.dispose(); this._config = null; } // Private |