mirror of
https://github.com/twbs/bootstrap.git
synced 2025-09-28 06:20:15 +02:00
Add Util.jQuery
which will detect jQuery instead of relying on global $
(#24513)
This commit is contained in:
@@ -1,4 +1,6 @@
|
||||
import $ from 'jquery'
|
||||
import Util from './util'
|
||||
|
||||
/**
|
||||
* --------------------------------------------------------------------------
|
||||
* Bootstrap (v4.0.0-beta.2): button.js
|
||||
@@ -182,6 +184,6 @@ const Button = (() => {
|
||||
|
||||
return Button
|
||||
|
||||
})($)
|
||||
})(Util.jQuery)
|
||||
|
||||
export default Button
|
||||
|
Reference in New Issue
Block a user