Add Util.jQuery which will detect jQuery instead of relying on global $ (#24513)
This commit is contained in:
parent
0d71a8a738
commit
1487c3a994
14 changed files with 38 additions and 11 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue