1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-09-27 05:49:07 +02:00

Use imported jQuery object

This commit is contained in:
Johann-S
2017-10-03 14:27:36 +02:00
parent 722407f502
commit b29b1e1558
12 changed files with 13 additions and 13 deletions

View File

@@ -19,7 +19,7 @@ import Util from './util'
*/
(() => {
if (typeof jQuery === 'undefined') {
if (typeof $ === 'undefined') {
throw new Error('Bootstrap\'s JavaScript requires jQuery. jQuery must be included before Bootstrap\'s JavaScript.')
}
@@ -29,7 +29,7 @@ import Util from './util'
if (version[0] < min || version[0] >= max) {
throw new Error('Bootstrap\'s JavaScript requires at least jQuery v3.0.0 but less than v4.0.0')
}
})(jQuery)
})($)
export {
Util,