From 1487c3a9947b0eb55c61b5d93ff9f0c69a812aeb Mon Sep 17 00:00:00 2001 From: Johann-S Date: Mon, 23 Oct 2017 09:35:27 +0200 Subject: Add `Util.jQuery` which will detect jQuery instead of relying on global `$` (#24513) --- js/src/button.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'js/src/button.js') diff --git a/js/src/button.js b/js/src/button.js index 9227da9516..87e724346f 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 -- cgit v1.2.3