aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Rebert <[email protected]>2013-11-05 16:55:55 -0800
committerChris Rebert <[email protected]>2013-11-05 16:55:55 -0800
commitf1b0cd491c4e3a0a564d92e145c1ecf55105557f (patch)
treecab378adb044e6d8de148b8282bc8240e840c718
parentd2e710a2dfb1a6b4eaccedd975b96b24baa12390 (diff)
parentf140084f2beb17b0a266b42ab9a03d0b935e5f66 (diff)
downloadbootstrap-f1b0cd491c4e3a0a564d92e145c1ecf55105557f.tar.xz
bootstrap-f1b0cd491c4e3a0a564d92e145c1ecf55105557f.zip
Merge pull request #10039 from daguej/js-refs
Don't explicitly reference global jQuery
-rw-r--r--js/affix.js2
-rw-r--r--js/alert.js2
-rw-r--r--js/button.js2
-rw-r--r--js/carousel.js2
-rw-r--r--js/collapse.js2
-rw-r--r--js/dropdown.js2
-rw-r--r--js/modal.js2
-rw-r--r--js/popover.js2
-rw-r--r--js/scrollspy.js2
-rw-r--r--js/tab.js2
-rw-r--r--js/tooltip.js2
-rw-r--r--js/transition.js2
12 files changed, 12 insertions, 12 deletions
diff --git a/js/affix.js b/js/affix.js
index c79103731..291e31959 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 25bc67c29..72dda55a7 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 8a518cb0e..b4f8f3077 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 8c580b818..d56c21891 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 c89de982f..83eb41d19 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 5680791c3..192903340 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 d5e11296f..5feca4b1b 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 f2ba5be00..74c9ba1f6 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 19ed6fcd5..d9e008bdf 100644
--- a/js/scrollspy.js
+++ b/js/scrollspy.js
@@ -155,4 +155,4 @@
})
})
-}(window.jQuery);
+}(jQuery);
diff --git a/js/tab.js b/js/tab.js
index 87dae6452..7f1962b9b 100644
--- a/js/tab.js
+++ b/js/tab.js
@@ -132,4 +132,4 @@
$(this).tab('show')
})
-}(window.jQuery);
+}(jQuery);
diff --git a/js/tooltip.js b/js/tooltip.js
index 68078d05f..60c01825d 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 bf6c7329c..d3d36bd75 100644
--- a/js/transition.js
+++ b/js/transition.js
@@ -53,4 +53,4 @@
$.support.transition = transitionEnd()
})
-}(window.jQuery);
+}(jQuery);