diff options
| author | Johann-S <[email protected]> | 2017-10-23 09:35:27 +0200 |
|---|---|---|
| committer | XhmikosR <[email protected]> | 2017-10-23 10:35:27 +0300 |
| commit | 1487c3a9947b0eb55c61b5d93ff9f0c69a812aeb (patch) | |
| tree | 5f05dafe9448cb79d9ea8ffa2dc86a15d3f59ea6 /js/src/button.js | |
| parent | 0d71a8a738688455746e91f7806fa0515c96d263 (diff) | |
| download | bootstrap-1487c3a9947b0eb55c61b5d93ff9f0c69a812aeb.tar.xz bootstrap-1487c3a9947b0eb55c61b5d93ff9f0c69a812aeb.zip | |
Add `Util.jQuery` which will detect jQuery instead of relying on global `$` (#24513)
Diffstat (limited to 'js/src/button.js')
| -rw-r--r-- | js/src/button.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/js/src/button.js b/js/src/button.js index 9227da951..87e724346 100644 --- a/js/src/button.js +++ b/js/src/button.js @@ -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 |
