Skip to content

Commit

Permalink
MY-12648 add extra polyfill for CustomEvent
Browse files Browse the repository at this point in the history
  • Loading branch information
EdieLemoine committed Sep 11, 2019
1 parent 4836305 commit 7eef5ec
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 2 deletions.
7 changes: 6 additions & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@myparcel/checkout",
"version": "3.0.8",
"version": "3.0.9",
"types": "index.d.ts",
"scripts": {
"serve": "vue-cli-service serve",
Expand All @@ -15,6 +15,7 @@
"@fortawesome/free-solid-svg-icons": "^5.9.0",
"@fortawesome/vue-fontawesome": "^0.1.6",
"core-js": "^2.6.9",
"custom-event-polyfill": "^1.0.7",
"debounce": "^1.2.0",
"lodash.mergewith": "^4.6.2",
"vue": "^2.6.10",
Expand Down
1 change: 1 addition & 0 deletions src/main.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import '@/assets/scss/style.scss';
import '@/services/polyfills';
import '@/services/fontAwesome';
import '@/services/directives';
import App from '@/App.vue';
Expand Down
6 changes: 6 additions & 0 deletions src/services/polyfills.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
/**
* For new CustomEvent() in IE10/11.
*
* @see https://github.com/kumarharsh/custom-event-polyfill
*/
import 'custom-event-polyfill';

0 comments on commit 7eef5ec

Please sign in to comment.