diff options
author | XhmikosR <xhmikosr@gmail.com> | 2019-10-08 09:39:10 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-10-08 09:39:10 +0300 |
commit | 1770691b339bdbf17de5e8824158b358dc0284a9 (patch) | |
tree | 69ac7056dcc46fbf63497df93b6e69c623fb93d2 /dist/js/bootstrap.js | |
parent | 9c54d3579757aa1e4027ff8fb434a18c656d840c (diff) |
Dist (#29484)
Diffstat (limited to 'dist/js/bootstrap.js')
-rw-r--r-- | dist/js/bootstrap.js | 134 |
1 files changed, 60 insertions, 74 deletions
diff --git a/dist/js/bootstrap.js b/dist/js/bootstrap.js index 030374edd4..becf4a9f9a 100644 --- a/dist/js/bootstrap.js +++ b/dist/js/bootstrap.js @@ -104,7 +104,6 @@ var getUID = function getUID(prefix) { do { - // eslint-disable-next-line no-bitwise prefix += ~~(Math.random() * MAX_UID); // "~~" acts like a faster Math.floor() here } while (document.getElementById(prefix)); @@ -241,8 +240,7 @@ } return findShadowRoot(element.parentNode); - }; // eslint-disable-next-line no-empty-function - + }; var noop = function noop() { return function () {}; @@ -421,7 +419,7 @@ try { element.querySelectorAll(':scope *'); - } catch (error) { + } catch (_) { return false; } @@ -681,7 +679,7 @@ if (isNamespace) { Object.keys(events).forEach(function (elementEvent) { - removeNamespacedHandlers(element, events, elementEvent, originalTypeEvent.substr(1)); + removeNamespacedHandlers(element, events, elementEvent, originalTypeEvent.slice(1)); }); } @@ -857,13 +855,12 @@ ALERT: 'alert', FADE: 'fade', SHOW: 'show' - /** - * ------------------------------------------------------------------------ - * Class Definition - * ------------------------------------------------------------------------ - */ - }; + /** + * ------------------------------------------------------------------------ + * Class Definition + * ------------------------------------------------------------------------ + */ var Alert = /*#__PURE__*/ @@ -1036,13 +1033,12 @@ CLICK_DATA_API: "click" + EVENT_KEY$1 + DATA_API_KEY$1, FOCUS_DATA_API: "focus" + EVENT_KEY$1 + DATA_API_KEY$1, BLUR_DATA_API: "blur" + EVENT_KEY$1 + DATA_API_KEY$1 - /** - * ------------------------------------------------------------------------ - * Class Definition - * ------------------------------------------------------------------------ - */ - }; + /** + * ------------------------------------------------------------------------ + * Class Definition + * ------------------------------------------------------------------------ + */ var Button = /*#__PURE__*/ @@ -1348,13 +1344,12 @@ var PointerType = { TOUCH: 'touch', PEN: 'pen' - /** - * ------------------------------------------------------------------------ - * Class Definition - * ------------------------------------------------------------------------ - */ - }; + /** + * ------------------------------------------------------------------------ + * Class Definition + * ------------------------------------------------------------------------ + */ var Carousel = /*#__PURE__*/ @@ -1924,13 +1919,12 @@ var Selector$3 = { ACTIVES: '.show, .collapsing', DATA_TOGGLE: '[data-toggle="collapse"]' - /** - * ------------------------------------------------------------------------ - * Class Definition - * ------------------------------------------------------------------------ - */ - }; + /** + * ------------------------------------------------------------------------ + * Class Definition + * ------------------------------------------------------------------------ + */ var Collapse = /*#__PURE__*/ @@ -2378,13 +2372,12 @@ reference: '(string|element)', display: 'string', popperConfig: '(null|object)' - /** - * ------------------------------------------------------------------------ - * Class Definition - * ------------------------------------------------------------------------ - */ - }; + /** + * ------------------------------------------------------------------------ + * Class Definition + * ------------------------------------------------------------------------ + */ var Dropdown = /*#__PURE__*/ @@ -2604,9 +2597,8 @@ preventOverflow: { boundariesElement: this._config.boundary } - } // Disable Popper.js if we have a static display - - }; + } + }; // Disable Popper.js if we have a static display if (this._config.display === 'static') { popperConfig.modifiers.applyStyle = { @@ -2876,13 +2868,12 @@ DATA_DISMISS: '[data-dismiss="modal"]', FIXED_CONTENT: '.fixed-top, .fixed-bottom, .is-fixed, .sticky-top', STICKY_CONTENT: '.sticky-top' - /** - * ------------------------------------------------------------------------ - * Class Definition - * ------------------------------------------------------------------------ - */ - }; + /** + * ------------------------------------------------------------------------ + * Class Definition + * ------------------------------------------------------------------------ + */ var Modal = /*#__PURE__*/ @@ -3626,13 +3617,12 @@ FOCUS: 'focus', CLICK: 'click', MANUAL: 'manual' - /** - * ------------------------------------------------------------------------ - * Class Definition - * ------------------------------------------------------------------------ - */ - }; + /** + * ------------------------------------------------------------------------ + * Class Definition + * ------------------------------------------------------------------------ + */ var Tooltip = /*#__PURE__*/ @@ -4342,13 +4332,12 @@ FOCUSOUT: "focusout" + EVENT_KEY$7, MOUSEENTER: "mouseenter" + EVENT_KEY$7, MOUSELEAVE: "mouseleave" + EVENT_KEY$7 - /** - * ------------------------------------------------------------------------ - * Class Definition - * ------------------------------------------------------------------------ - */ - }; + /** + * ------------------------------------------------------------------------ + * Class Definition + * ------------------------------------------------------------------------ + */ var Popover = /*#__PURE__*/ @@ -4537,13 +4526,12 @@ var OffsetMethod = { OFFSET: 'offset', POSITION: 'position' - /** - * ------------------------------------------------------------------------ - * Class Definition - * ------------------------------------------------------------------------ - */ - }; + /** + * ------------------------------------------------------------------------ + * Class Definition + * ------------------------------------------------------------------------ + */ var ScrollSpy = /*#__PURE__*/ @@ -4844,13 +4832,12 @@ DATA_TOGGLE: '[data-toggle="tab"], [data-toggle="pill"], [data-toggle="list"]', DROPDOWN_TOGGLE: '.dropdown-toggle', DROPDOWN_ACTIVE_CHILD: ':scope > .dropdown-menu .active' - /** - * ------------------------------------------------------------------------ - * Class Definition - * ------------------------------------------------------------------------ - */ - }; + /** + * ------------------------------------------------------------------------ + * Class Definition + * ------------------------------------------------------------------------ + */ var Tab = /*#__PURE__*/ @@ -5081,13 +5068,12 @@ }; var Selector$a = { DATA_DISMISS: '[data-dismiss="toast"]' - /** - * ------------------------------------------------------------------------ - * Class Definition - * ------------------------------------------------------------------------ - */ - }; + /** + * ------------------------------------------------------------------------ + * Class Definition + * ------------------------------------------------------------------------ + */ var Toast = /*#__PURE__*/ |