diff options
| author | Johann-S <[email protected]> | 2017-10-24 10:12:45 +0200 |
|---|---|---|
| committer | Johann-S <[email protected]> | 2017-10-24 12:39:25 +0200 |
| commit | 62fbb23ee61999e362cd8ade6073732a46466077 (patch) | |
| tree | 4407025061f33fc39da7526f544b773f7457078c /js/src/button.js | |
| parent | ca4ad8bee8000617c2ae1a08afe7af1103058776 (diff) | |
| download | bootstrap-62fbb23ee61999e362cd8ade6073732a46466077.tar.xz bootstrap-62fbb23ee61999e362cd8ade6073732a46466077.zip | |
Change Rollup config to wrap our dist files with jQuery instead of $
Diffstat (limited to 'js/src/button.js')
| -rw-r--r-- | js/src/button.js | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/js/src/button.js b/js/src/button.js index 87e724346..5632998a3 100644 --- a/js/src/button.js +++ b/js/src/button.js @@ -1,5 +1,4 @@ import $ from 'jquery' -import Util from './util' /** * -------------------------------------------------------------------------- @@ -8,7 +7,7 @@ import Util from './util' * -------------------------------------------------------------------------- */ -const Button = (() => { +const Button = (($) => { /** @@ -184,6 +183,6 @@ const Button = (() => { return Button -})(Util.jQuery) +})($) export default Button |
