aboutsummaryrefslogtreecommitdiff
path: root/dist/js/bootstrap.js
diff options
context:
space:
mode:
authorChris Rebert <[email protected]>2013-07-26 01:15:41 -0700
committerChris Rebert <[email protected]>2013-07-26 01:15:41 -0700
commita317f67c1cdc8e630fe18f5d48cfb582a0eda1de (patch)
treecdb75a91a5b25b1a9d669287d1a409d4f01569c0 /dist/js/bootstrap.js
parent292d8d6819925dbc1957895c11eea2562f08bd17 (diff)
downloadbootstrap-a317f67c1cdc8e630fe18f5d48cfb582a0eda1de.tar.xz
bootstrap-a317f67c1cdc8e630fe18f5d48cfb582a0eda1de.zip
re-integrate #8560 using @fat's code from the comment on #8614
Diffstat (limited to 'dist/js/bootstrap.js')
-rw-r--r--dist/js/bootstrap.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/dist/js/bootstrap.js b/dist/js/bootstrap.js
index e30b6fcdc..e0fe1e8b9 100644
--- a/dist/js/bootstrap.js
+++ b/dist/js/bootstrap.js
@@ -3,6 +3,8 @@
* Copyright 2013 Twitter Inc.
* http://www.apache.org/licenses/LICENSE-2.0
*/
+if (!jQuery) { throw new Error("Bootstrap requires jQuery") }
+
/* ========================================================================
* Bootstrap: transition.js v3.0.0
* http://twbs.github.com/bootstrap/javascript.html#transitions