Skip to content
This repository has been archived by the owner on Oct 26, 2018. It is now read-only.

Commit

Permalink
Merge pull request #344 from ctumolosus/master
Browse files Browse the repository at this point in the history
Fix compatibility issue with IE8 (ES3) due to usage of unquoted reserved keys.
  • Loading branch information
timdorr committed Apr 1, 2016
2 parents 04036bd + 8339899 commit 994447e
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
6 changes: 5 additions & 1 deletion .babelrc
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
{
"presets": ["es2015", "react", "stage-1"]
"presets": ["es2015", "react", "stage-1"],
"plugins": [
"transform-es3-member-expression-literals",
"transform-es3-property-literals"
]
}
6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,12 @@
],
"devDependencies": {
"babel-cli": "^6.1.2",
"babel-core": "^6.2.1",
"babel-core": "^6.7.4",
"babel-eslint": "^4.1.6",
"babel-loader": "^6.2.0",
"babel-polyfill": "^6.3.14",
"babel-plugin-transform-es3-member-expression-literals": "^6.5.0",
"babel-plugin-transform-es3-property-literals": "^6.5.0",
"babel-polyfill": "^6.7.4",
"babel-preset-es2015": "^6.3.13",
"babel-preset-react": "^6.5.0",
"babel-preset-stage-1": "^6.3.13",
Expand Down

1 comment on commit 994447e

@gaearon
Copy link
Member

@gaearon gaearon commented on 994447e Apr 1, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yay, these finally work! 😄 👍

Please sign in to comment.