Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohann-S <johann.servoire@gmail.com>2018-09-26 11:39:01 +0300
committerJohann-S <johann.servoire@gmail.com>2018-09-26 16:03:38 +0300
commit7c7a1706c348fcb5290a63d9249e0c8e4b6ebbcf (patch)
treef8430e9b76c05360abe5c74859f26df121071fa7 /js/src/index.js
parent02c4444f6c67e8b256173c2344355fcea41688a6 (diff)
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 7304b69d38..580562907f 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,