aboutsummaryrefslogtreecommitdiff
path: root/js/src/index.js
diff options
context:
space:
mode:
authorJohann-S <[email protected]>2017-10-23 09:35:27 +0200
committerXhmikosR <[email protected]>2017-10-23 10:35:27 +0300
commit1487c3a9947b0eb55c61b5d93ff9f0c69a812aeb (patch)
tree5f05dafe9448cb79d9ea8ffa2dc86a15d3f59ea6 /js/src/index.js
parent0d71a8a738688455746e91f7806fa0515c96d263 (diff)
downloadbootstrap-1487c3a9947b0eb55c61b5d93ff9f0c69a812aeb.tar.xz
bootstrap-1487c3a9947b0eb55c61b5d93ff9f0c69a812aeb.zip
Add `Util.jQuery` which will detect jQuery instead of relying on global `$` (#24513)
Diffstat (limited to 'js/src/index.js')
-rw-r--r--js/src/index.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/src/index.js b/js/src/index.js
index f30b94c57..1697a709b 100644
--- a/js/src/index.js
+++ b/js/src/index.js
@@ -33,7 +33,7 @@ import Util from './util'
if (version[0] < ltMajor && version[1] < minMinor || version[0] === minMajor && version[1] === minMinor && version[2] < minPatch || version[0] >= maxMajor) {
throw new Error('Bootstrap\'s JavaScript requires at least jQuery v1.9.1 but less than v4.0.0')
}
-})($)
+})(Util.jQuery)
export {
Util,