From 421e2482e2a0a38dd821876957cade8e5e3d579d Mon Sep 17 00:00:00 2001 From: XhmikosR Date: Sun, 1 Nov 2020 15:49:51 +0200 Subject: Streamline jQuery comment. (#32016) --- js/src/alert.js | 2 +- js/src/button.js | 2 +- js/src/carousel.js | 2 +- js/src/collapse.js | 2 +- js/src/dropdown.js | 2 +- js/src/modal.js | 2 +- js/src/popover.js | 1 + js/src/scrollspy.js | 1 + js/src/tab.js | 2 +- js/src/toast.js | 2 +- js/src/tooltip.js | 2 +- 11 files changed, 11 insertions(+), 9 deletions(-) (limited to 'js') diff --git a/js/src/alert.js b/js/src/alert.js index f3b4245afa..d8c6a47b91 100644 --- a/js/src/alert.js +++ b/js/src/alert.js @@ -151,7 +151,7 @@ EventHandler.on(document, EVENT_CLICK_DATA_API, SELECTOR_DISMISS, Alert.handleDi * ------------------------------------------------------------------------ * jQuery * ------------------------------------------------------------------------ - * add .alert to jQuery only if jQuery is present + * add .Alert to jQuery only if jQuery is present */ onDOMContentLoaded(() => { diff --git a/js/src/button.js b/js/src/button.js index c520aa117d..a07c8c0522 100644 --- a/js/src/button.js +++ b/js/src/button.js @@ -101,7 +101,7 @@ EventHandler.on(document, EVENT_CLICK_DATA_API, SELECTOR_DATA_TOGGLE, event => { * ------------------------------------------------------------------------ * jQuery * ------------------------------------------------------------------------ - * add .button to jQuery only if jQuery is present + * add .Button to jQuery only if jQuery is present */ onDOMContentLoaded(() => { diff --git a/js/src/carousel.js b/js/src/carousel.js index b9bb504361..00724e6624 100644 --- a/js/src/carousel.js +++ b/js/src/carousel.js @@ -616,7 +616,7 @@ EventHandler.on(window, EVENT_LOAD_DATA_API, () => { * ------------------------------------------------------------------------ * jQuery * ------------------------------------------------------------------------ - * add .carousel to jQuery only if jQuery is present + * add .Carousel to jQuery only if jQuery is present */ onDOMContentLoaded(() => { diff --git a/js/src/collapse.js b/js/src/collapse.js index 7788d0025a..838855f5fb 100644 --- a/js/src/collapse.js +++ b/js/src/collapse.js @@ -413,7 +413,7 @@ EventHandler.on(document, EVENT_CLICK_DATA_API, SELECTOR_DATA_TOGGLE, function ( * ------------------------------------------------------------------------ * jQuery * ------------------------------------------------------------------------ - * add .collapse to jQuery only if jQuery is present + * add .Collapse to jQuery only if jQuery is present */ onDOMContentLoaded(() => { diff --git a/js/src/dropdown.js b/js/src/dropdown.js index 46311ee8ad..ac79ce04df 100644 --- a/js/src/dropdown.js +++ b/js/src/dropdown.js @@ -517,7 +517,7 @@ EventHandler.on(document, EVENT_CLICK_DATA_API, SELECTOR_FORM_CHILD, e => e.stop * ------------------------------------------------------------------------ * jQuery * ------------------------------------------------------------------------ - * add .dropdown to jQuery only if jQuery is present + * add .Dropdown to jQuery only if jQuery is present */ onDOMContentLoaded(() => { diff --git a/js/src/modal.js b/js/src/modal.js index adddb62e28..c4d8cdd88c 100644 --- a/js/src/modal.js +++ b/js/src/modal.js @@ -612,7 +612,7 @@ EventHandler.on(document, EVENT_CLICK_DATA_API, SELECTOR_DATA_TOGGLE, function ( * ------------------------------------------------------------------------ * jQuery * ------------------------------------------------------------------------ - * add .modal to jQuery only if jQuery is present + * add .Modal to jQuery only if jQuery is present */ onDOMContentLoaded(() => { diff --git a/js/src/popover.js b/js/src/popover.js index a4980a19e9..81ba21bef3 100644 --- a/js/src/popover.js +++ b/js/src/popover.js @@ -171,6 +171,7 @@ class Popover extends Tooltip { * ------------------------------------------------------------------------ * jQuery * ------------------------------------------------------------------------ + * add .Popover to jQuery only if jQuery is present */ onDOMContentLoaded(() => { diff --git a/js/src/scrollspy.js b/js/src/scrollspy.js index a0061b7e1e..5043b8ef83 100644 --- a/js/src/scrollspy.js +++ b/js/src/scrollspy.js @@ -322,6 +322,7 @@ EventHandler.on(window, EVENT_LOAD_DATA_API, () => { * ------------------------------------------------------------------------ * jQuery * ------------------------------------------------------------------------ + * add .ScrollSpy to jQuery only if jQuery is present */ onDOMContentLoaded(() => { diff --git a/js/src/tab.js b/js/src/tab.js index af0dfc97aa..969621cf5e 100644 --- a/js/src/tab.js +++ b/js/src/tab.js @@ -240,7 +240,7 @@ EventHandler.on(document, EVENT_CLICK_DATA_API, SELECTOR_DATA_TOGGLE, function ( * ------------------------------------------------------------------------ * jQuery * ------------------------------------------------------------------------ - * add .tab to jQuery only if jQuery is present + * add .Tab to jQuery only if jQuery is present */ onDOMContentLoaded(() => { diff --git a/js/src/toast.js b/js/src/toast.js index 308a5d879b..e38fb7dfca 100644 --- a/js/src/toast.js +++ b/js/src/toast.js @@ -218,7 +218,7 @@ class Toast { * ------------------------------------------------------------------------ * jQuery * ------------------------------------------------------------------------ - * add .toast to jQuery only if jQuery is present + * add .Toast to jQuery only if jQuery is present */ onDOMContentLoaded(() => { diff --git a/js/src/tooltip.js b/js/src/tooltip.js index 4d9d3c4a2d..7a62739e8f 100644 --- a/js/src/tooltip.js +++ b/js/src/tooltip.js @@ -798,7 +798,7 @@ class Tooltip { * ------------------------------------------------------------------------ * jQuery * ------------------------------------------------------------------------ - * add .tooltip to jQuery only if jQuery is present + * add .Tooltip to jQuery only if jQuery is present */ onDOMContentLoaded(() => { -- cgit v1.2.3