Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authorXhmikosR <xhmikosr@gmail.com>2020-11-01 16:49:51 +0300
committerGitHub <noreply@github.com>2020-11-01 16:49:51 +0300
commit421e2482e2a0a38dd821876957cade8e5e3d579d (patch)
treecc40f1c1da67685289c41b7b4deb5b79bf3b10c8 /js
parentc21506d499c682ea5e31107ce264b224c4bb644d (diff)
Streamline jQuery comment. (#32016)
Diffstat (limited to 'js')
-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 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(() => {