aboutsummaryrefslogtreecommitdiff
path: root/dist
diff options
context:
space:
mode:
authorChris Rebert <[email protected]>2014-06-17 23:35:22 -0700
committerChris Rebert <[email protected]>2014-06-17 23:35:22 -0700
commit1c42dfcd532867acd1488de0d91edd71a6a19aea (patch)
tree8ab62efe13b461aa7a0c966030cec67401e7141b /dist
parent4f95989c386a3ffd826c063909ec70d54443c944 (diff)
parentf347d7d955bbb17234b8e12c68efae7d516ce62c (diff)
downloadbootstrap-1c42dfcd532867acd1488de0d91edd71a6a19aea.tar.xz
bootstrap-1c42dfcd532867acd1488de0d91edd71a6a19aea.zip
Merge pull request #13842 from twbs/fix-13811
update "is jQuery defined" check for UMD compatibility
Diffstat (limited to 'dist')
-rw-r--r--dist/js/bootstrap.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/dist/js/bootstrap.js b/dist/js/bootstrap.js
index f998f65af..b90519a24 100644
--- a/dist/js/bootstrap.js
+++ b/dist/js/bootstrap.js
@@ -4,7 +4,7 @@
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
*/
-if (typeof jQuery === 'undefined') { throw new Error('Bootstrap\'s JavaScript requires jQuery') }
+if (typeof define == 'undefined' && typeof exports == 'undefined' && typeof jQuery == 'undefined') { throw new Error('Bootstrap\'s JavaScript requires jQuery') }
/* ========================================================================
* Bootstrap: transition.js v3.1.1