From 62fbb23ee61999e362cd8ade6073732a46466077 Mon Sep 17 00:00:00 2001 From: Johann-S Date: Tue, 24 Oct 2017 10:12:45 +0200 Subject: Change Rollup config to wrap our dist files with jQuery instead of $ --- js/src/button.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'js/src/button.js') 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 -- cgit v1.2.3