From f83c981d089d1b15159bb6646e15401a42563cd6 Mon Sep 17 00:00:00 2001 From: Mark Otto <markdotto@gmail.com> Date: Fri, 30 Jun 2017 08:32:49 -0700 Subject: [PATCH] build dist --- dist/js/bootstrap.js | 240 +++++++++++++++++++-------------------- js/dist/alert.js | 16 +-- js/dist/alert.js.map | Bin 8202 -> 8201 bytes js/dist/button.js | 16 +-- js/dist/button.js.map | Bin 9009 -> 9007 bytes js/dist/carousel.js | 16 +-- js/dist/carousel.js.map | Bin 27946 -> 27944 bytes js/dist/collapse.js | 20 ++-- js/dist/collapse.js.map | Bin 20204 -> 20202 bytes js/dist/dropdown.js | 16 +-- js/dist/dropdown.js.map | Bin 24863 -> 24860 bytes js/dist/modal.js | 36 +++--- js/dist/modal.js.map | Bin 32313 -> 32311 bytes js/dist/popover.js | 16 +-- js/dist/popover.js.map | Bin 9195 -> 9194 bytes js/dist/scrollspy.js | 20 ++-- js/dist/scrollspy.js.map | Bin 17961 -> 17959 bytes js/dist/tab.js | 16 +-- js/dist/tab.js.map | Bin 13170 -> 13168 bytes js/dist/tooltip.js | 20 ++-- js/dist/tooltip.js.map | Bin 37202 -> 37201 bytes js/dist/util.js | 8 +- js/dist/util.js.map | Bin 8170 -> 8169 bytes 23 files changed, 220 insertions(+), 220 deletions(-) diff --git a/dist/js/bootstrap.js b/dist/js/bootstrap.js index 8c4a2f67c6..086ba45b60 100644 --- a/dist/js/bootstrap.js +++ b/dist/js/bootstrap.js @@ -50,9 +50,10 @@ var Util = function ($) { MozTransition: 'transitionend', OTransition: 'oTransitionEnd otransitionend', transition: 'transitionend' + }; - // shoutout AngusCroll (https://goo.gl/pxwQGp) - };function toType(obj) { + // shoutout AngusCroll (https://goo.gl/pxwQGp) + function toType(obj) { return {}.toString.call(obj).match(/\s([a-zA-Z]+)/)[1].toLowerCase(); } @@ -66,8 +67,7 @@ var Util = function ($) { delegateType: transition.end, handle: function handle(event) { if ($(event.target).is(this)) { - return event.handleObj.handler.apply(this, arguments // eslint-disable-line prefer-rest-params - ); + return event.handleObj.handler.apply(this, arguments); // eslint-disable-line prefer-rest-params } return undefined; } @@ -177,7 +177,7 @@ var Util = function ($) { setTransitionEndSupport(); return Util; -}(jQuery +}(jQuery); /** * -------------------------------------------------------------------------- @@ -186,7 +186,7 @@ var Util = function ($) { * -------------------------------------------------------------------------- */ -);var Alert = function ($) { +var Alert = function ($) { /** * ------------------------------------------------------------------------ @@ -216,14 +216,14 @@ var Util = function ($) { ALERT: 'alert', FADE: 'fade', SHOW: 'show' + }; - /** - * ------------------------------------------------------------------------ - * Class Definition - * ------------------------------------------------------------------------ - */ + /** + * ------------------------------------------------------------------------ + * Class Definition + * ------------------------------------------------------------------------ + */ - }; var Alert = function () { function Alert(element) { _classCallCheck(this, Alert); @@ -340,7 +340,7 @@ var Util = function ($) { * ------------------------------------------------------------------------ */ - $(document).on(Event.CLICK_DATA_API, Selector.DISMISS, Alert._handleDismiss(new Alert()) + $(document).on(Event.CLICK_DATA_API, Selector.DISMISS, Alert._handleDismiss(new Alert())); /** * ------------------------------------------------------------------------ @@ -348,7 +348,7 @@ var Util = function ($) { * ------------------------------------------------------------------------ */ - );$.fn[NAME] = Alert._jQueryInterface; + $.fn[NAME] = Alert._jQueryInterface; $.fn[NAME].Constructor = Alert; $.fn[NAME].noConflict = function () { $.fn[NAME] = JQUERY_NO_CONFLICT; @@ -356,7 +356,7 @@ var Util = function ($) { }; return Alert; -}(jQuery +}(jQuery); /** * -------------------------------------------------------------------------- @@ -365,7 +365,7 @@ var Util = function ($) { * -------------------------------------------------------------------------- */ -);var Button = function ($) { +var Button = function ($) { /** * ------------------------------------------------------------------------ @@ -397,14 +397,14 @@ var Util = function ($) { var Event = { CLICK_DATA_API: 'click' + EVENT_KEY + DATA_API_KEY, FOCUS_BLUR_DATA_API: 'focus' + EVENT_KEY + DATA_API_KEY + ' ' + ('blur' + EVENT_KEY + DATA_API_KEY) + }; - /** - * ------------------------------------------------------------------------ - * Class Definition - * ------------------------------------------------------------------------ - */ + /** + * ------------------------------------------------------------------------ + * Class Definition + * ------------------------------------------------------------------------ + */ - }; var Button = function () { function Button(element) { _classCallCheck(this, Button); @@ -510,7 +510,7 @@ var Util = function ($) { }).on(Event.FOCUS_BLUR_DATA_API, Selector.DATA_TOGGLE_CARROT, function (event) { var button = $(event.target).closest(Selector.BUTTON)[0]; $(button).toggleClass(ClassName.FOCUS, /^focus(in)?$/.test(event.type)); - } + }); /** * ------------------------------------------------------------------------ @@ -518,7 +518,7 @@ var Util = function ($) { * ------------------------------------------------------------------------ */ - );$.fn[NAME] = Button._jQueryInterface; + $.fn[NAME] = Button._jQueryInterface; $.fn[NAME].Constructor = Button; $.fn[NAME].noConflict = function () { $.fn[NAME] = JQUERY_NO_CONFLICT; @@ -526,7 +526,7 @@ var Util = function ($) { }; return Button; -}(jQuery +}(jQuery); /** * -------------------------------------------------------------------------- @@ -535,7 +535,7 @@ var Util = function ($) { * -------------------------------------------------------------------------- */ -);var Carousel = function ($) { +var Carousel = function ($) { /** * ------------------------------------------------------------------------ @@ -607,14 +607,14 @@ var Util = function ($) { INDICATORS: '.carousel-indicators', DATA_SLIDE: '[data-slide], [data-slide-to]', DATA_RIDE: '[data-ride="carousel"]' + }; - /** - * ------------------------------------------------------------------------ - * Class Definition - * ------------------------------------------------------------------------ - */ + /** + * ------------------------------------------------------------------------ + * Class Definition + * ------------------------------------------------------------------------ + */ - }; var Carousel = function () { function Carousel(element, config) { _classCallCheck(this, Carousel); @@ -1017,7 +1017,7 @@ var Util = function ($) { var $carousel = $(this); Carousel._jQueryInterface.call($carousel, $carousel.data()); }); - } + }); /** * ------------------------------------------------------------------------ @@ -1025,7 +1025,7 @@ var Util = function ($) { * ------------------------------------------------------------------------ */ - );$.fn[NAME] = Carousel._jQueryInterface; + $.fn[NAME] = Carousel._jQueryInterface; $.fn[NAME].Constructor = Carousel; $.fn[NAME].noConflict = function () { $.fn[NAME] = JQUERY_NO_CONFLICT; @@ -1033,7 +1033,7 @@ var Util = function ($) { }; return Carousel; -}(jQuery +}(jQuery); /** * -------------------------------------------------------------------------- @@ -1042,7 +1042,7 @@ var Util = function ($) { * -------------------------------------------------------------------------- */ -);var Collapse = function ($) { +var Collapse = function ($) { /** * ------------------------------------------------------------------------ @@ -1091,14 +1091,14 @@ var Util = function ($) { var Selector = { ACTIVES: '.show, .collapsing', DATA_TOGGLE: '[data-toggle="collapse"]' + }; - /** - * ------------------------------------------------------------------------ - * Class Definition - * ------------------------------------------------------------------------ - */ + /** + * ------------------------------------------------------------------------ + * Class Definition + * ------------------------------------------------------------------------ + */ - }; var Collapse = function () { function Collapse(element, config) { _classCallCheck(this, Collapse); @@ -1280,8 +1280,8 @@ var Util = function ($) { Collapse.prototype._getConfig = function _getConfig(config) { config = $.extend({}, Default, config); - config.toggle = Boolean(config.toggle // coerce string values - );Util.typeCheckConfig(NAME, config, DefaultType); + config.toggle = Boolean(config.toggle); // coerce string values + Util.typeCheckConfig(NAME, config, DefaultType); return config; }; @@ -1378,7 +1378,7 @@ var Util = function ($) { var config = data ? 'toggle' : $trigger.data(); Collapse._jQueryInterface.call($target, config); }); - } + }); /** * ------------------------------------------------------------------------ @@ -1386,7 +1386,7 @@ var Util = function ($) { * ------------------------------------------------------------------------ */ - );$.fn[NAME] = Collapse._jQueryInterface; + $.fn[NAME] = Collapse._jQueryInterface; $.fn[NAME].Constructor = Collapse; $.fn[NAME].noConflict = function () { $.fn[NAME] = JQUERY_NO_CONFLICT; @@ -1394,7 +1394,7 @@ var Util = function ($) { }; return Collapse; -}(jQuery +}(jQuery); /* global Popper */ @@ -1405,7 +1405,7 @@ var Util = function ($) { * -------------------------------------------------------------------------- */ -);var Dropdown = function ($) { +var Dropdown = function ($) { /** * Check for Popper dependency @@ -1479,14 +1479,14 @@ var Util = function ($) { placement: 'string', offset: '(number|string)', flip: 'boolean' + }; - /** - * ------------------------------------------------------------------------ - * Class Definition - * ------------------------------------------------------------------------ - */ + /** + * ------------------------------------------------------------------------ + * Class Definition + * ------------------------------------------------------------------------ + */ - }; var Dropdown = function () { function Dropdown(element, config) { _classCallCheck(this, Dropdown); @@ -1812,7 +1812,7 @@ var Util = function ($) { Dropdown._jQueryInterface.call($(this), 'toggle'); }).on(Event.CLICK_DATA_API, Selector.FORM_CHILD, function (e) { e.stopPropagation(); - } + }); /** * ------------------------------------------------------------------------ @@ -1820,7 +1820,7 @@ var Util = function ($) { * ------------------------------------------------------------------------ */ - );$.fn[NAME] = Dropdown._jQueryInterface; + $.fn[NAME] = Dropdown._jQueryInterface; $.fn[NAME].Constructor = Dropdown; $.fn[NAME].noConflict = function () { $.fn[NAME] = JQUERY_NO_CONFLICT; @@ -1828,7 +1828,7 @@ var Util = function ($) { }; return Dropdown; -}(jQuery +}(jQuery); /** * -------------------------------------------------------------------------- @@ -1837,7 +1837,7 @@ var Util = function ($) { * -------------------------------------------------------------------------- */ -);var Modal = function ($) { +var Modal = function ($) { /** * ------------------------------------------------------------------------ @@ -1897,14 +1897,14 @@ var Util = function ($) { DATA_DISMISS: '[data-dismiss="modal"]', FIXED_CONTENT: '.fixed-top, .fixed-bottom, .is-fixed, .sticky-top', NAVBAR_TOGGLER: '.navbar-toggler' + }; - /** - * ------------------------------------------------------------------------ - * Class Definition - * ------------------------------------------------------------------------ - */ + /** + * ------------------------------------------------------------------------ + * Class Definition + * ------------------------------------------------------------------------ + */ - }; var Modal = function () { function Modal(element, config) { _classCallCheck(this, Modal); @@ -2096,8 +2096,8 @@ var Util = function ($) { Modal.prototype._enforceFocus = function _enforceFocus() { var _this14 = this; - $(document).off(Event.FOCUSIN // guard against infinite focus loop - ).on(Event.FOCUSIN, function (event) { + $(document).off(Event.FOCUSIN) // guard against infinite focus loop + .on(Event.FOCUSIN, function (event) { if (document !== event.target && _this14._element !== event.target && !$(_this14._element).has(event.target).length) { _this14._element.focus(); } @@ -2259,17 +2259,17 @@ var Util = function ($) { var actualPadding = $(element)[0].style.paddingRight; var calculatedPadding = $(element).css('padding-right'); $(element).data('padding-right', actualPadding).css('padding-right', parseFloat(calculatedPadding) + _this19._scrollbarWidth + 'px'); - } + }); // Adjust navbar-toggler margin - );$(Selector.NAVBAR_TOGGLER).each(function (index, element) { + $(Selector.NAVBAR_TOGGLER).each(function (index, element) { var actualMargin = $(element)[0].style.marginRight; var calculatedMargin = $(element).css('margin-right'); $(element).data('margin-right', actualMargin).css('margin-right', parseFloat(calculatedMargin) + _this19._scrollbarWidth + 'px'); - } + }); // Adjust body padding - );var actualPadding = document.body.style.paddingRight; + var actualPadding = document.body.style.paddingRight; var calculatedPadding = $('body').css('padding-right'); $('body').data('padding-right', actualPadding).css('padding-right', parseFloat(calculatedPadding) + this._scrollbarWidth + 'px'); } @@ -2282,18 +2282,18 @@ var Util = function ($) { if (typeof padding !== 'undefined') { $(element).css('padding-right', padding).removeData('padding-right'); } - } + }); // Restore navbar-toggler margin - );$(Selector.NAVBAR_TOGGLER).each(function (index, element) { + $(Selector.NAVBAR_TOGGLER).each(function (index, element) { var margin = $(element).data('margin-right'); if (typeof margin !== 'undefined') { $(element).css('margin-right', margin).removeData('margin-right'); } - } + }); // Restore body padding - );var padding = $('body').data('padding-right'); + var padding = $('body').data('padding-right'); if (typeof padding !== 'undefined') { $('body').css('padding-right', padding).removeData('padding-right'); } @@ -2383,7 +2383,7 @@ var Util = function ($) { }); Modal._jQueryInterface.call($(target), config, this); - } + }); /** * ------------------------------------------------------------------------ @@ -2391,7 +2391,7 @@ var Util = function ($) { * ------------------------------------------------------------------------ */ - );$.fn[NAME] = Modal._jQueryInterface; + $.fn[NAME] = Modal._jQueryInterface; $.fn[NAME].Constructor = Modal; $.fn[NAME].noConflict = function () { $.fn[NAME] = JQUERY_NO_CONFLICT; @@ -2399,7 +2399,7 @@ var Util = function ($) { }; return Modal; -}(jQuery +}(jQuery); /** * -------------------------------------------------------------------------- @@ -2408,7 +2408,7 @@ var Util = function ($) { * -------------------------------------------------------------------------- */ -);var ScrollSpy = function ($) { +var ScrollSpy = function ($) { /** * ------------------------------------------------------------------------ @@ -2461,14 +2461,14 @@ var Util = function ($) { var OffsetMethod = { OFFSET: 'offset', POSITION: 'position' + }; - /** - * ------------------------------------------------------------------------ - * Class Definition - * ------------------------------------------------------------------------ - */ + /** + * ------------------------------------------------------------------------ + * Class Definition + * ------------------------------------------------------------------------ + */ - }; var ScrollSpy = function () { function ScrollSpy(element, config) { var _this21 = this; @@ -2633,10 +2633,10 @@ var Util = function ($) { $link.addClass(ClassName.ACTIVE); } else { // Set triggered link as active - $link.addClass(ClassName.ACTIVE + $link.addClass(ClassName.ACTIVE); // Set triggered links parents as active // With both <ul> and <nav> markup a parent is the previous sibling of any nav ancestor - );$link.parents(Selector.NAV_LIST_GROUP).prev(Selector.NAV_LINKS + ', ' + Selector.LIST_ITEMS).addClass(ClassName.ACTIVE); + $link.parents(Selector.NAV_LIST_GROUP).prev(Selector.NAV_LINKS + ', ' + Selector.LIST_ITEMS).addClass(ClassName.ACTIVE); } $(this._scrollElement).trigger(Event.ACTIVATE, { @@ -2697,7 +2697,7 @@ var Util = function ($) { var $spy = $(scrollSpys[i]); ScrollSpy._jQueryInterface.call($spy, $spy.data()); } - } + }); /** * ------------------------------------------------------------------------ @@ -2705,7 +2705,7 @@ var Util = function ($) { * ------------------------------------------------------------------------ */ - );$.fn[NAME] = ScrollSpy._jQueryInterface; + $.fn[NAME] = ScrollSpy._jQueryInterface; $.fn[NAME].Constructor = ScrollSpy; $.fn[NAME].noConflict = function () { $.fn[NAME] = JQUERY_NO_CONFLICT; @@ -2713,7 +2713,7 @@ var Util = function ($) { }; return ScrollSpy; -}(jQuery +}(jQuery); /** * -------------------------------------------------------------------------- @@ -2722,7 +2722,7 @@ var Util = function ($) { * -------------------------------------------------------------------------- */ -);var Tab = function ($) { +var Tab = function ($) { /** * ------------------------------------------------------------------------ @@ -2761,14 +2761,14 @@ var Util = function ($) { DATA_TOGGLE: '[data-toggle="tab"], [data-toggle="pill"], [data-toggle="list"]', DROPDOWN_TOGGLE: '.dropdown-toggle', DROPDOWN_ACTIVE_CHILD: '> .dropdown-menu .active' + }; - /** - * ------------------------------------------------------------------------ - * Class Definition - * ------------------------------------------------------------------------ - */ + /** + * ------------------------------------------------------------------------ + * Class Definition + * ------------------------------------------------------------------------ + */ - }; var Tab = function () { function Tab(element) { _classCallCheck(this, Tab); @@ -2947,7 +2947,7 @@ var Util = function ($) { $(document).on(Event.CLICK_DATA_API, Selector.DATA_TOGGLE, function (event) { event.preventDefault(); Tab._jQueryInterface.call($(this), 'show'); - } + }); /** * ------------------------------------------------------------------------ @@ -2955,7 +2955,7 @@ var Util = function ($) { * ------------------------------------------------------------------------ */ - );$.fn[NAME] = Tab._jQueryInterface; + $.fn[NAME] = Tab._jQueryInterface; $.fn[NAME].Constructor = Tab; $.fn[NAME].noConflict = function () { $.fn[NAME] = JQUERY_NO_CONFLICT; @@ -2963,7 +2963,7 @@ var Util = function ($) { }; return Tab; -}(jQuery +}(jQuery); /* global Popper */ @@ -2974,7 +2974,7 @@ var Util = function ($) { * -------------------------------------------------------------------------- */ -);var Tooltip = function ($) { +var Tooltip = function ($) { /** * Check for Popper dependency @@ -3069,14 +3069,14 @@ var Util = function ($) { FOCUS: 'focus', CLICK: 'click', MANUAL: 'manual' + }; - /** - * ------------------------------------------------------------------------ - * Class Definition - * ------------------------------------------------------------------------ - */ + /** + * ------------------------------------------------------------------------ + * Class Definition + * ------------------------------------------------------------------------ + */ - }; var Tooltip = function () { function Tooltip(element, config) { _classCallCheck(this, Tooltip); @@ -3233,13 +3233,13 @@ var Util = function ($) { } }); - $(tip).addClass(ClassName.SHOW + $(tip).addClass(ClassName.SHOW); // if this is a touch-enabled device we add extra // empty mouseover listeners to the body's immediate children; // only needed because of broken event delegation on iOS // https://www.quirksmode.org/blog/archives/2014/02/mouse_event_bub.html - );if ('ontouchstart' in document.documentElement) { + if ('ontouchstart' in document.documentElement) { $('body').children().on('mouseover', null, $.noop); } @@ -3293,11 +3293,11 @@ var Util = function ($) { return; } - $(tip).removeClass(ClassName.SHOW + $(tip).removeClass(ClassName.SHOW); // if this is a touch-enabled device we remove the extra // empty mouseover listeners we added for iOS support - );if ('ontouchstart' in document.documentElement) { + if ('ontouchstart' in document.documentElement) { $('body').children().off('mouseover', null, $.noop); } @@ -3638,7 +3638,7 @@ var Util = function ($) { }; return Tooltip; -}(jQuery +}(jQuery); /** * -------------------------------------------------------------------------- @@ -3647,7 +3647,7 @@ var Util = function ($) { * -------------------------------------------------------------------------- */ -);var Popover = function ($) { +var Popover = function ($) { /** * ------------------------------------------------------------------------ @@ -3695,14 +3695,14 @@ var Util = function ($) { FOCUSOUT: 'focusout' + EVENT_KEY, MOUSEENTER: 'mouseenter' + EVENT_KEY, MOUSELEAVE: 'mouseleave' + EVENT_KEY + }; - /** - * ------------------------------------------------------------------------ - * Class Definition - * ------------------------------------------------------------------------ - */ + /** + * ------------------------------------------------------------------------ + * Class Definition + * ------------------------------------------------------------------------ + */ - }; var Popover = function (_Tooltip) { _inherits(Popover, _Tooltip); @@ -3727,10 +3727,10 @@ var Util = function ($) { }; Popover.prototype.setContent = function setContent() { - var $tip = $(this.getTipElement() + var $tip = $(this.getTipElement()); // we use append for html objects to maintain js events - );this.setElementContent($tip.find(Selector.TITLE), this.getTitle()); + this.setElementContent($tip.find(Selector.TITLE), this.getTitle()); this.setElementContent($tip.find(Selector.CONTENT), this._getContent()); $tip.removeClass(ClassName.FADE + ' ' + ClassName.SHOW); diff --git a/js/dist/alert.js b/js/dist/alert.js index 9c298c0dbc..0550593a7f 100644 --- a/js/dist/alert.js +++ b/js/dist/alert.js @@ -39,14 +39,14 @@ var Alert = function ($) { ALERT: 'alert', FADE: 'fade', SHOW: 'show' + }; - /** - * ------------------------------------------------------------------------ - * Class Definition - * ------------------------------------------------------------------------ - */ + /** + * ------------------------------------------------------------------------ + * Class Definition + * ------------------------------------------------------------------------ + */ - }; var Alert = function () { function Alert(element) { _classCallCheck(this, Alert); @@ -163,7 +163,7 @@ var Alert = function ($) { * ------------------------------------------------------------------------ */ - $(document).on(Event.CLICK_DATA_API, Selector.DISMISS, Alert._handleDismiss(new Alert()) + $(document).on(Event.CLICK_DATA_API, Selector.DISMISS, Alert._handleDismiss(new Alert())); /** * ------------------------------------------------------------------------ @@ -171,7 +171,7 @@ var Alert = function ($) { * ------------------------------------------------------------------------ */ - );$.fn[NAME] = Alert._jQueryInterface; + $.fn[NAME] = Alert._jQueryInterface; $.fn[NAME].Constructor = Alert; $.fn[NAME].noConflict = function () { $.fn[NAME] = JQUERY_NO_CONFLICT; diff --git a/js/dist/alert.js.map b/js/dist/alert.js.map index 510aae16f97ed2a31e14897037e13eeb553fb6e2..280035dce0dc66fb658c6eac78cc6463697ab9df 100644 GIT binary patch delta 73 zcmeBj=ycfdoJGpf(IZgD-O(|}$=ce{(cjS;41j#+%}lIYIV5zP9X;GorF<Qobv!43 MWES20gjY=n02^Z!82|tP delta 72 zcmeBl=yKTboJHE&(a|%^8VnpA1G1fT+#MZroPeUnPMaB7w{nPCgH*V|RXFN+Iwm?g OPkzrVzWFh)nh*d7S`_vG diff --git a/js/dist/button.js b/js/dist/button.js index cf2edb2939..cd82242c12 100644 --- a/js/dist/button.js +++ b/js/dist/button.js @@ -41,14 +41,14 @@ var Button = function ($) { var Event = { CLICK_DATA_API: 'click' + EVENT_KEY + DATA_API_KEY, FOCUS_BLUR_DATA_API: 'focus' + EVENT_KEY + DATA_API_KEY + ' ' + ('blur' + EVENT_KEY + DATA_API_KEY) + }; - /** - * ------------------------------------------------------------------------ - * Class Definition - * ------------------------------------------------------------------------ - */ + /** + * ------------------------------------------------------------------------ + * Class Definition + * ------------------------------------------------------------------------ + */ - }; var Button = function () { function Button(element) { _classCallCheck(this, Button); @@ -154,7 +154,7 @@ var Button = function ($) { }).on(Event.FOCUS_BLUR_DATA_API, Selector.DATA_TOGGLE_CARROT, function (event) { var button = $(event.target).closest(Selector.BUTTON)[0]; $(button).toggleClass(ClassName.FOCUS, /^focus(in)?$/.test(event.type)); - } + }); /** * ------------------------------------------------------------------------ @@ -162,7 +162,7 @@ var Button = function ($) { * ------------------------------------------------------------------------ */ - );$.fn[NAME] = Button._jQueryInterface; + $.fn[NAME] = Button._jQueryInterface; $.fn[NAME].Constructor = Button; $.fn[NAME].noConflict = function () { $.fn[NAME] = JQUERY_NO_CONFLICT; diff --git a/js/dist/button.js.map b/js/dist/button.js.map index 78ec75d6254a2818ca9fec7908a8c9a924addb3b..899bcdaeaaa5d3d4ec6cfdad26c60fdd2d0fc88d 100644 GIT binary patch delta 72 zcmdn!w%%>S9TrJPN4GE?cSpw*YimbGe@AODaC9tk-u#W_0;dE}D$N5VmF)zV^K~?J Onk>jKzWE!UwFm%3h84{K delta 76 zcmZ4Qw$W|F9Tq8TM@R1pCu=ZpbPPz=ad&h~0Sa0=ZT`w~fm7NV$aeRD$>%sZ>UcVq UJ2{#<>9|f7<QLuih0j_90G@Fc-v9sr diff --git a/js/dist/carousel.js b/js/dist/carousel.js index cb20676900..18186bc13a 100644 --- a/js/dist/carousel.js +++ b/js/dist/carousel.js @@ -83,14 +83,14 @@ var Carousel = function ($) { INDICATORS: '.carousel-indicators', DATA_SLIDE: '[data-slide], [data-slide-to]', DATA_RIDE: '[data-ride="carousel"]' + }; - /** - * ------------------------------------------------------------------------ - * Class Definition - * ------------------------------------------------------------------------ - */ + /** + * ------------------------------------------------------------------------ + * Class Definition + * ------------------------------------------------------------------------ + */ - }; var Carousel = function () { function Carousel(element, config) { _classCallCheck(this, Carousel); @@ -493,7 +493,7 @@ var Carousel = function ($) { var $carousel = $(this); Carousel._jQueryInterface.call($carousel, $carousel.data()); }); - } + }); /** * ------------------------------------------------------------------------ @@ -501,7 +501,7 @@ var Carousel = function ($) { * ------------------------------------------------------------------------ */ - );$.fn[NAME] = Carousel._jQueryInterface; + $.fn[NAME] = Carousel._jQueryInterface; $.fn[NAME].Constructor = Carousel; $.fn[NAME].noConflict = function () { $.fn[NAME] = JQUERY_NO_CONFLICT; diff --git a/js/dist/carousel.js.map b/js/dist/carousel.js.map index 81ba66896109b3f471943fee59af6d9821a7fd6d..8cbfaa84df985e621d99ed818859cd7f9e4f0c86 100644 GIT binary patch delta 72 zcmZ2=i*dy*#tj}kl8%l6&N}Xnj#*CD){c(hj@Dq{=xDk*nI~9H3@GK}0+I=Y%lJAL OP5x&jvH6LSn-u^f&=w2; delta 77 zcmZ2+i*eO0#tj}k($<cSo*7QoVBqK&k?Ex4?&z511QgENoX8WbCTR_1y1T#>1Uc$> VIwm_7dFr@M{%<6@`H_*E6#$~B7uf&+ diff --git a/js/dist/collapse.js b/js/dist/collapse.js index 040971179f..823c2be026 100644 --- a/js/dist/collapse.js +++ b/js/dist/collapse.js @@ -60,14 +60,14 @@ var Collapse = function ($) { var Selector = { ACTIVES: '.show, .collapsing', DATA_TOGGLE: '[data-toggle="collapse"]' + }; - /** - * ------------------------------------------------------------------------ - * Class Definition - * ------------------------------------------------------------------------ - */ + /** + * ------------------------------------------------------------------------ + * Class Definition + * ------------------------------------------------------------------------ + */ - }; var Collapse = function () { function Collapse(element, config) { _classCallCheck(this, Collapse); @@ -249,8 +249,8 @@ var Collapse = function ($) { Collapse.prototype._getConfig = function _getConfig(config) { config = $.extend({}, Default, config); - config.toggle = Boolean(config.toggle // coerce string values - );Util.typeCheckConfig(NAME, config, DefaultType); + config.toggle = Boolean(config.toggle); // coerce string values + Util.typeCheckConfig(NAME, config, DefaultType); return config; }; @@ -347,7 +347,7 @@ var Collapse = function ($) { var config = data ? 'toggle' : $trigger.data(); Collapse._jQueryInterface.call($target, config); }); - } + }); /** * ------------------------------------------------------------------------ @@ -355,7 +355,7 @@ var Collapse = function ($) { * ------------------------------------------------------------------------ */ - );$.fn[NAME] = Collapse._jQueryInterface; + $.fn[NAME] = Collapse._jQueryInterface; $.fn[NAME].Constructor = Collapse; $.fn[NAME].noConflict = function () { $.fn[NAME] = JQUERY_NO_CONFLICT; diff --git a/js/dist/collapse.js.map b/js/dist/collapse.js.map index e54766d91753e88358d06ef8e6b99dbde06897ab..6ffeac9d2ccac6a9711a5c101df0d537f02e1a3d 100644 GIT binary patch delta 105 zcmaDem+{qH#tkeSQjU&p&N}Xnj#*CD){c(8j@Dq{=vd^kS%HI5SR%to$Jx;>6GXZe sI{}qAmpNxT>x6H%kY2+n0o0k~0@9f71lQ^7Xz4UrUsZgwi0TbZ06iidfB*mh delta 109 zcmaDgm+{S9#tkeSGS-fco*7QoVBqNJm+7SA?&z511QgbH-Ymz#C@fwI;y9K$>G(T3 zW;p3MJ32dNI_r3EHkV$*DQyjub9aGh&v0_o@pLS9a<p{Pah<HMD!N%n^@b(@ueKgt diff --git a/js/dist/dropdown.js b/js/dist/dropdown.js index 2736356482..d81f291627 100644 --- a/js/dist/dropdown.js +++ b/js/dist/dropdown.js @@ -85,14 +85,14 @@ var Dropdown = function ($) { placement: 'string', offset: '(number|string)', flip: 'boolean' + }; - /** - * ------------------------------------------------------------------------ - * Class Definition - * ------------------------------------------------------------------------ - */ + /** + * ------------------------------------------------------------------------ + * Class Definition + * ------------------------------------------------------------------------ + */ - }; var Dropdown = function () { function Dropdown(element, config) { _classCallCheck(this, Dropdown); @@ -418,7 +418,7 @@ var Dropdown = function ($) { Dropdown._jQueryInterface.call($(this), 'toggle'); }).on(Event.CLICK_DATA_API, Selector.FORM_CHILD, function (e) { e.stopPropagation(); - } + }); /** * ------------------------------------------------------------------------ @@ -426,7 +426,7 @@ var Dropdown = function ($) { * ------------------------------------------------------------------------ */ - );$.fn[NAME] = Dropdown._jQueryInterface; + $.fn[NAME] = Dropdown._jQueryInterface; $.fn[NAME].Constructor = Dropdown; $.fn[NAME].noConflict = function () { $.fn[NAME] = JQUERY_NO_CONFLICT; diff --git a/js/dist/dropdown.js.map b/js/dist/dropdown.js.map index 67c0f97831a27d2d91623cdd95fe76b80656ed2a..4176bfd220b74482d543d6cec92a7d58cd2d71a7 100644 GIT binary patch delta 75 zcmbP#h;hy##tj>}B^@0-Jayb19SfYStsNcx9j(E@(b0VK8SY*MNuX4O2S_FvF5~N1 R<)-5~SwL4}bGObE699Yp7Nr0H delta 74 zcmbPph;jZQ#tj>}rL7$uJu{rF!NAcmAm2&H-O;hY2`F5$`4o4rf|NCo>Fxnjkm9K0 S>6q{2SmmbUy177SjR^pHJQp1R diff --git a/js/dist/modal.js b/js/dist/modal.js index 6b9e134f1f..563d8f5735 100644 --- a/js/dist/modal.js +++ b/js/dist/modal.js @@ -71,14 +71,14 @@ var Modal = function ($) { DATA_DISMISS: '[data-dismiss="modal"]', FIXED_CONTENT: '.fixed-top, .fixed-bottom, .is-fixed, .sticky-top', NAVBAR_TOGGLER: '.navbar-toggler' + }; - /** - * ------------------------------------------------------------------------ - * Class Definition - * ------------------------------------------------------------------------ - */ + /** + * ------------------------------------------------------------------------ + * Class Definition + * ------------------------------------------------------------------------ + */ - }; var Modal = function () { function Modal(element, config) { _classCallCheck(this, Modal); @@ -270,8 +270,8 @@ var Modal = function ($) { Modal.prototype._enforceFocus = function _enforceFocus() { var _this4 = this; - $(document).off(Event.FOCUSIN // guard against infinite focus loop - ).on(Event.FOCUSIN, function (event) { + $(document).off(Event.FOCUSIN) // guard against infinite focus loop + .on(Event.FOCUSIN, function (event) { if (document !== event.target && _this4._element !== event.target && !$(_this4._element).has(event.target).length) { _this4._element.focus(); } @@ -433,17 +433,17 @@ var Modal = function ($) { var actualPadding = $(element)[0].style.paddingRight; var calculatedPadding = $(element).css('padding-right'); $(element).data('padding-right', actualPadding).css('padding-right', parseFloat(calculatedPadding) + _this9._scrollbarWidth + 'px'); - } + }); // Adjust navbar-toggler margin - );$(Selector.NAVBAR_TOGGLER).each(function (index, element) { + $(Selector.NAVBAR_TOGGLER).each(function (index, element) { var actualMargin = $(element)[0].style.marginRight; var calculatedMargin = $(element).css('margin-right'); $(element).data('margin-right', actualMargin).css('margin-right', parseFloat(calculatedMargin) + _this9._scrollbarWidth + 'px'); - } + }); // Adjust body padding - );var actualPadding = document.body.style.paddingRight; + var actualPadding = document.body.style.paddingRight; var calculatedPadding = $('body').css('padding-right'); $('body').data('padding-right', actualPadding).css('padding-right', parseFloat(calculatedPadding) + this._scrollbarWidth + 'px'); } @@ -456,18 +456,18 @@ var Modal = function ($) { if (typeof padding !== 'undefined') { $(element).css('padding-right', padding).removeData('padding-right'); } - } + }); // Restore navbar-toggler margin - );$(Selector.NAVBAR_TOGGLER).each(function (index, element) { + $(Selector.NAVBAR_TOGGLER).each(function (index, element) { var margin = $(element).data('margin-right'); if (typeof margin !== 'undefined') { $(element).css('margin-right', margin).removeData('margin-right'); } - } + }); // Restore body padding - );var padding = $('body').data('padding-right'); + var padding = $('body').data('padding-right'); if (typeof padding !== 'undefined') { $('body').css('padding-right', padding).removeData('padding-right'); } @@ -557,7 +557,7 @@ var Modal = function ($) { }); Modal._jQueryInterface.call($(target), config, this); - } + }); /** * ------------------------------------------------------------------------ @@ -565,7 +565,7 @@ var Modal = function ($) { * ------------------------------------------------------------------------ */ - );$.fn[NAME] = Modal._jQueryInterface; + $.fn[NAME] = Modal._jQueryInterface; $.fn[NAME].Constructor = Modal; $.fn[NAME].noConflict = function () { $.fn[NAME] = JQUERY_NO_CONFLICT; diff --git a/js/dist/modal.js.map b/js/dist/modal.js.map index 4f0d2bd6c75186b904aaf44928c0d95be0850bd7..2261a4542725cade66ac8691962abb1c89fa472b 100644 GIT binary patch delta 196 zcmdn_hjIHK#tr&BQjU&3emd@sj#*CD){c(Bj@Dq{=$PTU*_)?Vkk{4Gx!4IP<5J?J z<G=Z-teb#{POzhw3rMxEBam=*EO5~YoqW*HV{*IRS0Qvsoyg67`tnR7I{uD6U`_rI wO(kwRfr}3sG76zf=!9;*Y&4TY0_Z4nC$NrmXSl0;9jhk4v6k38$9k?40KH^7=>Px# delta 197 zcmdn~hjHg0#tr&BGS-fco@GwfVBqK&lIf)5?&z511QafF+3d;FE6D5Y=v)lqyOcQT z1a5vT>n0##4dlAI00}=wolr-A#{w4}*U9@0Jtnv6eHB8N)bZThqc6{d&=laP6X+P| xSmLJRx_G}KBSHgI0;u7l(M%3$kU{P)FsEfWJL-5k7CSpuIqSG?ZnfUz1OOT5I>`V4 diff --git a/js/dist/popover.js b/js/dist/popover.js index 5153c4201e..e60fcf6bc4 100644 --- a/js/dist/popover.js +++ b/js/dist/popover.js @@ -63,14 +63,14 @@ var Popover = function ($) { FOCUSOUT: 'focusout' + EVENT_KEY, MOUSEENTER: 'mouseenter' + EVENT_KEY, MOUSELEAVE: 'mouseleave' + EVENT_KEY + }; - /** - * ------------------------------------------------------------------------ - * Class Definition - * ------------------------------------------------------------------------ - */ + /** + * ------------------------------------------------------------------------ + * Class Definition + * ------------------------------------------------------------------------ + */ - }; var Popover = function (_Tooltip) { _inherits(Popover, _Tooltip); @@ -95,10 +95,10 @@ var Popover = function ($) { }; Popover.prototype.setContent = function setContent() { - var $tip = $(this.getTipElement() + var $tip = $(this.getTipElement()); // we use append for html objects to maintain js events - );this.setElementContent($tip.find(Selector.TITLE), this.getTitle()); + this.setElementContent($tip.find(Selector.TITLE), this.getTitle()); this.setElementContent($tip.find(Selector.CONTENT), this._getContent()); $tip.removeClass(ClassName.FADE + ' ' + ClassName.SHOW); diff --git a/js/dist/popover.js.map b/js/dist/popover.js.map index dc03c16ae0c805db362f5fb5c72df6199dcedef8..f8e648ab428aca4761e05a156b042931f606dea8 100644 GIT binary patch delta 75 zcmaFu{>pvBA~s1!$FLL~cSpw*YimcxWJhZ-aC9tl*}RACJfpOZtD~cvj<cg<5=h?F Y5lA>Y>V!KwdizfP$)U3O6o;ZT0G@RhWdHyG delta 68 zcmaFm{@Q)RA~q>&M@LUnCu=ZpbWBOsaR-t>!7As?yV=e&idzHOu4zEREm6nc(J@KK P+0orm$9wZa4o_(S{Vf#% diff --git a/js/dist/scrollspy.js b/js/dist/scrollspy.js index e3a2c60e0e..a332f96a19 100644 --- a/js/dist/scrollspy.js +++ b/js/dist/scrollspy.js @@ -64,14 +64,14 @@ var ScrollSpy = function ($) { var OffsetMethod = { OFFSET: 'offset', POSITION: 'position' + }; - /** - * ------------------------------------------------------------------------ - * Class Definition - * ------------------------------------------------------------------------ - */ + /** + * ------------------------------------------------------------------------ + * Class Definition + * ------------------------------------------------------------------------ + */ - }; var ScrollSpy = function () { function ScrollSpy(element, config) { var _this = this; @@ -236,10 +236,10 @@ var ScrollSpy = function ($) { $link.addClass(ClassName.ACTIVE); } else { // Set triggered link as active - $link.addClass(ClassName.ACTIVE + $link.addClass(ClassName.ACTIVE); // Set triggered links parents as active // With both <ul> and <nav> markup a parent is the previous sibling of any nav ancestor - );$link.parents(Selector.NAV_LIST_GROUP).prev(Selector.NAV_LINKS + ', ' + Selector.LIST_ITEMS).addClass(ClassName.ACTIVE); + $link.parents(Selector.NAV_LIST_GROUP).prev(Selector.NAV_LINKS + ', ' + Selector.LIST_ITEMS).addClass(ClassName.ACTIVE); } $(this._scrollElement).trigger(Event.ACTIVATE, { @@ -300,7 +300,7 @@ var ScrollSpy = function ($) { var $spy = $(scrollSpys[i]); ScrollSpy._jQueryInterface.call($spy, $spy.data()); } - } + }); /** * ------------------------------------------------------------------------ @@ -308,7 +308,7 @@ var ScrollSpy = function ($) { * ------------------------------------------------------------------------ */ - );$.fn[NAME] = ScrollSpy._jQueryInterface; + $.fn[NAME] = ScrollSpy._jQueryInterface; $.fn[NAME].Constructor = ScrollSpy; $.fn[NAME].noConflict = function () { $.fn[NAME] = JQUERY_NO_CONFLICT; diff --git a/js/dist/scrollspy.js.map b/js/dist/scrollspy.js.map index 8f1df4e5898fe4237e141cedce9365eb5b7ffe76..425344d441ae3936b6530d8ccd3586bb65844eba 100644 GIT binary patch delta 104 zcmZ44!??VMaYGx2q@$x-ppLtvW08}!wWFi2qcs>fI#z97z_Cb3QpXp_bOOpaJ0gg5 kH=X3o(bA@@;y|4NE+CDeaE-o>Sss%G6va31SIANY06{Yywg3PC delta 108 zcmZ49!??1CaYGx2l(nOyXOcA-I6C?jI_bDOIu<zrMe{b#=U5~p31m4}f%wjjK*G&Y vC)Cm1G2KnacXO1qDXWw<P|)24ra#P4$I~(0$uY}A$91xRqUh$m3R$WE$3h<Q diff --git a/js/dist/tab.js b/js/dist/tab.js index ac2a1d6e35..fb0749ed54 100644 --- a/js/dist/tab.js +++ b/js/dist/tab.js @@ -48,14 +48,14 @@ var Tab = function ($) { DATA_TOGGLE: '[data-toggle="tab"], [data-toggle="pill"], [data-toggle="list"]', DROPDOWN_TOGGLE: '.dropdown-toggle', DROPDOWN_ACTIVE_CHILD: '> .dropdown-menu .active' + }; - /** - * ------------------------------------------------------------------------ - * Class Definition - * ------------------------------------------------------------------------ - */ + /** + * ------------------------------------------------------------------------ + * Class Definition + * ------------------------------------------------------------------------ + */ - }; var Tab = function () { function Tab(element) { _classCallCheck(this, Tab); @@ -234,7 +234,7 @@ var Tab = function ($) { $(document).on(Event.CLICK_DATA_API, Selector.DATA_TOGGLE, function (event) { event.preventDefault(); Tab._jQueryInterface.call($(this), 'show'); - } + }); /** * ------------------------------------------------------------------------ @@ -242,7 +242,7 @@ var Tab = function ($) { * ------------------------------------------------------------------------ */ - );$.fn[NAME] = Tab._jQueryInterface; + $.fn[NAME] = Tab._jQueryInterface; $.fn[NAME].Constructor = Tab; $.fn[NAME].noConflict = function () { $.fn[NAME] = JQUERY_NO_CONFLICT; diff --git a/js/dist/tab.js.map b/js/dist/tab.js.map index 2b9fa90f7dbc32cae9c06735f485516faa75a60b..7e0d8179d9d65c35f8d10b8ab6d6fb3b75991ecb 100644 GIT binary patch delta 70 zcmeyA_91P<Ha1B|N52pqcSpx8Cu?g*$52OWFmQA<-h7cwUO)^e<>djA@rTR!Iyz3y M6BpksD;_EX03UV~bpQYW delta 70 zcmey6_9<<{Ha2N%M@LUXCu=ZpbPUUM(s6fm%yI$>XKg;uCNCgi4P?4|z!U^H>UcUP OIy&mOZe|nDk^ul9&=iLN diff --git a/js/dist/tooltip.js b/js/dist/tooltip.js index 9d156db283..b83c6fc0e1 100644 --- a/js/dist/tooltip.js +++ b/js/dist/tooltip.js @@ -106,14 +106,14 @@ var Tooltip = function ($) { FOCUS: 'focus', CLICK: 'click', MANUAL: 'manual' + }; - /** - * ------------------------------------------------------------------------ - * Class Definition - * ------------------------------------------------------------------------ - */ + /** + * ------------------------------------------------------------------------ + * Class Definition + * ------------------------------------------------------------------------ + */ - }; var Tooltip = function () { function Tooltip(element, config) { _classCallCheck(this, Tooltip); @@ -270,13 +270,13 @@ var Tooltip = function ($) { } }); - $(tip).addClass(ClassName.SHOW + $(tip).addClass(ClassName.SHOW); // if this is a touch-enabled device we add extra // empty mouseover listeners to the body's immediate children; // only needed because of broken event delegation on iOS // https://www.quirksmode.org/blog/archives/2014/02/mouse_event_bub.html - );if ('ontouchstart' in document.documentElement) { + if ('ontouchstart' in document.documentElement) { $('body').children().on('mouseover', null, $.noop); } @@ -330,11 +330,11 @@ var Tooltip = function ($) { return; } - $(tip).removeClass(ClassName.SHOW + $(tip).removeClass(ClassName.SHOW); // if this is a touch-enabled device we remove the extra // empty mouseover listeners we added for iOS support - );if ('ontouchstart' in document.documentElement) { + if ('ontouchstart' in document.documentElement) { $('body').children().off('mouseover', null, $.noop); } diff --git a/js/dist/tooltip.js.map b/js/dist/tooltip.js.map index e7f4ffa087408a626c14c43f865fd711c07489d4..5d6c76cb1d095eeab7a65dfec65006d29f949c12 100644 GIT binary patch delta 115 zcmcb#i0R@YrVVy{QjU&Z-a77%ju}qY){c&Wj@Dq{=vd^wIg)PyzmkrpqoW~M&eaj9 hz!{y;iJZJgS$(sUToS7UNUb@BTAk3%dz7c;0sx9_AnX7D delta 116 zcmcb(i0RTIrVVy{($<cSo)Oky;OH2X?xf@H=$PRI6g79-9KpAMU&$KCb~OZvI6I;c qK8`w}j=qjMo|AVgt8aFcOJbD(t2KwK^>EY)bo2zO*t}bLS}p*r6d^nS diff --git a/js/dist/util.js b/js/dist/util.js index 034895948f..58d5dd9e63 100644 --- a/js/dist/util.js +++ b/js/dist/util.js @@ -22,9 +22,10 @@ var Util = function ($) { MozTransition: 'transitionend', OTransition: 'oTransitionEnd otransitionend', transition: 'transitionend' + }; - // shoutout AngusCroll (https://goo.gl/pxwQGp) - };function toType(obj) { + // shoutout AngusCroll (https://goo.gl/pxwQGp) + function toType(obj) { return {}.toString.call(obj).match(/\s([a-zA-Z]+)/)[1].toLowerCase(); } @@ -38,8 +39,7 @@ var Util = function ($) { delegateType: transition.end, handle: function handle(event) { if ($(event.target).is(this)) { - return event.handleObj.handler.apply(this, arguments // eslint-disable-line prefer-rest-params - ); + return event.handleObj.handler.apply(this, arguments); // eslint-disable-line prefer-rest-params } return undefined; } diff --git a/js/dist/util.js.map b/js/dist/util.js.map index 56d752357630658df065f5cb969797643441481b..011bc69b8b2b208f501ebe0424f4ac4d00dbc893 100644 GIT binary patch delta 60 zcmaE5|I&WLJ{ECDM=xI;cSlEKCu?g*M}J2k;q0grzWF-Kb4H;69cM=u6DJ_)Y~Tcv LDcgLWO<EEFSeFum delta 61 zcmaE9|H^*DJ{C!9M@RP}Cm<PM<fP;7=xFSu<Lnsds1v;TD$8?5L2YNCl%u}0PB>5n Mkm<bn9GkQx0Bo8Pv;Y7A -- GitLab