Skip to content

Commit

Permalink
Replace polyfill package to core-js
Browse files Browse the repository at this point in the history
This should work with React 16
  • Loading branch information
valscion committed Feb 18, 2019
1 parent 41dada7 commit d6b2ee0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@
"devDependencies": {
"chai": "1",
"chai-array": "0.0.1",
"core-js": "^2.6.5",
"create-react-class": "^15.6.3",
"envify": "^1.2.1",
"es5-shim": "^4.0.0",
"mocha": "1",
"mocha-phantomjs": "3",
"react": "^16.0.0",
Expand Down
2 changes: 1 addition & 1 deletion test/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<title>Mocha</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" href="../node_modules/mocha/mocha.css" />
<script src="../node_modules/es5-shim/es5-shim.js"></script>
<script src="../node_modules/core-js/client/shim.min.js"></script>
<script src="../node_modules/react/umd/react.development.js"></script>
<script src="../node_modules/react-dom/umd/react-dom.development.js"></script>
<script src="../node_modules/react-dom/umd/react-dom-test-utils.development.js"></script>
Expand Down

0 comments on commit d6b2ee0

Please sign in to comment.