Skip to content

Commit

Permalink
Fix: Add es6-object-assign polyfill to support IE11 (#285)
Browse files Browse the repository at this point in the history
  • Loading branch information
bennam authored and sapegin committed Jan 13, 2017
1 parent 390ba4e commit 9f7f5eb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@
"css-modules-require-hook": "~4.0.5",
"dog-names": "~1.0.2",
"enzyme": "~2.5.1",
"es6-object-assign": "^1.0.3",
"eslint": "~3.9.1",
"eslint-config-tamia": "~3.2.1",
"eslint-plugin-react": "~6.5.0",
Expand Down
3 changes: 3 additions & 0 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ import StyleGuide from 'rsg-components/StyleGuide';

import 'highlight.js/styles/tomorrow.css';
import './styles.css';
import es6ObjectAssign from 'es6-object-assign';

es6ObjectAssign.polyfill();

// Make libraries available in examples
global.React = React;
Expand Down

0 comments on commit 9f7f5eb

Please sign in to comment.