diff options
author | Johann-S <johann.servoire@gmail.com> | 2018-09-26 11:39:01 +0300 |
---|---|---|
committer | Johann-S <johann.servoire@gmail.com> | 2018-09-26 16:03:38 +0300 |
commit | 7c7a1706c348fcb5290a63d9249e0c8e4b6ebbcf (patch) | |
tree | f8430e9b76c05360abe5c74859f26df121071fa7 /js/src/index.js | |
parent | 02c4444f6c67e8b256173c2344355fcea41688a6 (diff) |
remove useless iife
Diffstat (limited to 'js/src/index.js')
-rw-r--r-- | js/src/index.js | 4 |
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, |