Skip to content

Commit

Permalink
Add Babel polyfill to support Array.prototype.includes in IE11
Browse files Browse the repository at this point in the history
  • Loading branch information
dotherightthing committed Sep 21, 2020
1 parent ee06016 commit 7f0f8be
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 2 deletions.
19 changes: 17 additions & 2 deletions package-lock.json

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

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
"doc": "docs"
},
"dependencies": {
"@babel/polyfill": "^7.11.5",
"gh-pages": "^3.1.0",
"http-server": "^0.12.3"
},
Expand Down
1 change: 1 addition & 0 deletions single-select-listbox.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
<head>
<meta charset="utf-8" />
<title>Single-select listbox</title>
<script src="node_modules/@babel/polyfill/dist/polyfill.min.js"></script>
<script src="js/frontend-es5.js"></script>
<link rel="stylesheet" href="css/frontend.css" />
</head>
Expand Down
1 change: 1 addition & 0 deletions tabbed-carousel.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
<head>
<meta charset="utf-8" />
<title>Tabbed carousel</title>
<script src="node_modules/@babel/polyfill/dist/polyfill.min.js"></script>
<script src="js/frontend-es5.js"></script>
<link rel="stylesheet" href="css/frontend.css" />
</head>
Expand Down

0 comments on commit 7f0f8be

Please sign in to comment.