aboutsummaryrefslogtreecommitdiff
path: root/js/src/index.js
diff options
context:
space:
mode:
authorJohann-S <[email protected]>2018-09-26 10:39:01 +0200
committerJohann-S <[email protected]>2018-09-26 15:03:38 +0200
commit7c7a1706c348fcb5290a63d9249e0c8e4b6ebbcf (patch)
treef8430e9b76c05360abe5c74859f26df121071fa7 /js/src/index.js
parent02c4444f6c67e8b256173c2344355fcea41688a6 (diff)
downloadbootstrap-7c7a1706c348fcb5290a63d9249e0c8e4b6ebbcf.tar.xz
bootstrap-7c7a1706c348fcb5290a63d9249e0c8e4b6ebbcf.zip
remove useless iife
Diffstat (limited to 'js/src/index.js')
-rw-r--r--js/src/index.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/js/src/index.js b/js/src/index.js
index 7304b69d3..580562907 100644
--- a/js/src/index.js
+++ b/js/src/index.js
@@ -18,7 +18,7 @@ import Util from './util'
* --------------------------------------------------------------------------
*/
-(($) => {
+(() => {
if (typeof $ === 'undefined') {
throw new TypeError('Bootstrap\'s JavaScript requires jQuery. jQuery must be included before Bootstrap\'s JavaScript.')
}
@@ -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')
}
-})($)
+})()
export {
Util,