diff options
| author | Josh Dague <[email protected]> | 2013-08-22 14:50:15 -0400 |
|---|---|---|
| committer | Josh Dague <[email protected]> | 2013-08-22 14:50:15 -0400 |
| commit | f140084f2beb17b0a266b42ab9a03d0b935e5f66 (patch) | |
| tree | 38f976b60bf59b28cdeb39e68c7b0f387d97c291 | |
| parent | 0c0400633aaa3591254630bf120bf477cee4381d (diff) | |
| download | bootstrap-f140084f2beb17b0a266b42ab9a03d0b935e5f66.tar.xz bootstrap-f140084f2beb17b0a266b42ab9a03d0b935e5f66.zip | |
Don't explicitly reference global jQuery
Removes `window.jQuery` in favor of `jQuery`, fixes #10038
| -rw-r--r-- | js/affix.js | 2 | ||||
| -rw-r--r-- | js/alert.js | 2 | ||||
| -rw-r--r-- | js/button.js | 2 | ||||
| -rw-r--r-- | js/carousel.js | 2 | ||||
| -rw-r--r-- | js/collapse.js | 2 | ||||
| -rw-r--r-- | js/dropdown.js | 2 | ||||
| -rw-r--r-- | js/modal.js | 2 | ||||
| -rw-r--r-- | js/popover.js | 2 | ||||
| -rw-r--r-- | js/scrollspy.js | 2 | ||||
| -rw-r--r-- | js/tab.js | 2 | ||||
| -rw-r--r-- | js/tooltip.js | 2 | ||||
| -rw-r--r-- | js/transition.js | 2 |
12 files changed, 12 insertions, 12 deletions
diff --git a/js/affix.js b/js/affix.js index c7be96e1d..7ab1479c3 100644 --- a/js/affix.js +++ b/js/affix.js @@ -123,4 +123,4 @@ }) }) -}(window.jQuery); +}(jQuery); diff --git a/js/alert.js b/js/alert.js index 663029ed8..df04b7e5e 100644 --- a/js/alert.js +++ b/js/alert.js @@ -95,4 +95,4 @@ $(document).on('click.bs.alert.data-api', dismiss, Alert.prototype.close) -}(window.jQuery); +}(jQuery); diff --git a/js/button.js b/js/button.js index fc73b555f..68c211b57 100644 --- a/js/button.js +++ b/js/button.js @@ -106,4 +106,4 @@ e.preventDefault() }) -}(window.jQuery); +}(jQuery); diff --git a/js/carousel.js b/js/carousel.js index d8c4c243c..b633cfb9f 100644 --- a/js/carousel.js +++ b/js/carousel.js @@ -214,4 +214,4 @@ }) }) -}(window.jQuery); +}(jQuery); diff --git a/js/collapse.js b/js/collapse.js index 92cc0bc76..2e0d4290c 100644 --- a/js/collapse.js +++ b/js/collapse.js @@ -176,4 +176,4 @@ $target.collapse(option) }) -}(window.jQuery); +}(jQuery); diff --git a/js/dropdown.js b/js/dropdown.js index 6093f11a8..9293b830b 100644 --- a/js/dropdown.js +++ b/js/dropdown.js @@ -151,4 +151,4 @@ .on('click.bs.dropdown.data-api' , toggle, Dropdown.prototype.toggle) .on('keydown.bs.dropdown.data-api', toggle + ', [role=menu]' , Dropdown.prototype.keydown) -}(window.jQuery); +}(jQuery); diff --git a/js/modal.js b/js/modal.js index 65eba481e..0107f22d0 100644 --- a/js/modal.js +++ b/js/modal.js @@ -243,4 +243,4 @@ .on('show.bs.modal', '.modal', function () { $(document.body).addClass('modal-open') }) .on('hidden.bs.modal', '.modal', function () { $(document.body).removeClass('modal-open') }) -}(window.jQuery); +}(jQuery); diff --git a/js/popover.js b/js/popover.js index ecd37ac23..12ad7f993 100644 --- a/js/popover.js +++ b/js/popover.js @@ -114,4 +114,4 @@ return this } -}(window.jQuery); +}(jQuery); diff --git a/js/scrollspy.js b/js/scrollspy.js index 10f95f249..1094481cc 100644 --- a/js/scrollspy.js +++ b/js/scrollspy.js @@ -155,4 +155,4 @@ }) }) -}(window.jQuery); +}(jQuery); @@ -132,4 +132,4 @@ $(this).tab('show') }) -}(window.jQuery); +}(jQuery); diff --git a/js/tooltip.js b/js/tooltip.js index 89802287a..67806c56e 100644 --- a/js/tooltip.js +++ b/js/tooltip.js @@ -383,4 +383,4 @@ return this } -}(window.jQuery); +}(jQuery); diff --git a/js/transition.js b/js/transition.js index e8f318beb..36ca6f894 100644 --- a/js/transition.js +++ b/js/transition.js @@ -53,4 +53,4 @@ $.support.transition = transitionEnd() }) -}(window.jQuery); +}(jQuery); |
