aboutsummaryrefslogtreecommitdiff
path: root/js/src
diff options
context:
space:
mode:
authorXhmikosR <[email protected]>2020-11-01 15:49:51 +0200
committerGitHub <[email protected]>2020-11-01 15:49:51 +0200
commit421e2482e2a0a38dd821876957cade8e5e3d579d (patch)
treecc40f1c1da67685289c41b7b4deb5b79bf3b10c8 /js/src
parentc21506d499c682ea5e31107ce264b224c4bb644d (diff)
downloadbootstrap-421e2482e2a0a38dd821876957cade8e5e3d579d.tar.xz
bootstrap-421e2482e2a0a38dd821876957cade8e5e3d579d.zip
Streamline jQuery comment. (#32016)
Diffstat (limited to 'js/src')
-rw-r--r--js/src/alert.js2
-rw-r--r--js/src/button.js2
-rw-r--r--js/src/carousel.js2
-rw-r--r--js/src/collapse.js2
-rw-r--r--js/src/dropdown.js2
-rw-r--r--js/src/modal.js2
-rw-r--r--js/src/popover.js1
-rw-r--r--js/src/scrollspy.js1
-rw-r--r--js/src/tab.js2
-rw-r--r--js/src/toast.js2
-rw-r--r--js/src/tooltip.js2
11 files changed, 11 insertions, 9 deletions
diff --git a/js/src/alert.js b/js/src/alert.js
index f3b4245af..d8c6a47b9 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 c520aa117..a07c8c052 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 b9bb50436..00724e662 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 7788d0025..838855f5f 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 46311ee8a..ac79ce04d 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 adddb62e2..c4d8cdd88 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 a4980a19e..81ba21bef 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 a0061b7e1..5043b8ef8 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 af0dfc97a..969621cf5 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 308a5d879..e38fb7dfc 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 4d9d3c4a2..7a62739e8 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(() => {