diff options
author | Johann-S <johann.servoire@gmail.com> | 2017-10-24 11:12:45 +0300 |
---|---|---|
committer | Johann-S <johann.servoire@gmail.com> | 2017-10-24 13:39:25 +0300 |
commit | 62fbb23ee61999e362cd8ade6073732a46466077 (patch) | |
tree | 4407025061f33fc39da7526f544b773f7457078c /js/src/button.js | |
parent | ca4ad8bee8000617c2ae1a08afe7af1103058776 (diff) |
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 87e724346f..5632998a3f 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 |