Skip to content

Commit

Permalink
[project-base] import jquery-ui-touch-punch and add safari support in…
Browse files Browse the repository at this point in the history
…to babel (#1811)

* import jquery-ui-touch-punch in admin and frontend js endpoits
* added support for safari8 in js
  • Loading branch information
pesektomas authored Apr 29, 2020
1 parent a9dd272 commit 4aea8de
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
5 changes: 3 additions & 2 deletions assets/js/frontend.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
// import 'jquery-ui-touch-punch';

import './jQuery/registerJquery';
import 'jquery-ui/ui/widgets/mouse';
import 'jquery-ui-touch-punch';

import tooltip from 'framework/common/bootstrap/tooltip';

import 'framework/common/components';
Expand Down
5 changes: 4 additions & 1 deletion babel.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,10 @@ module.exports = {
'@babel/preset-env',
{
targets: {
node: 'current'
node: 'current',
browsers: [
'safari >= 8'
]
}
}
]
Expand Down

0 comments on commit 4aea8de

Please sign in to comment.