Skip to content

Commit

Permalink
Add airbnb-js-shims to client-side JS
Browse files Browse the repository at this point in the history
This gets IE11 working for me
  • Loading branch information
wyattdanger committed Apr 25, 2016
1 parent 6d4902f commit 0a5f3d4
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 1 deletion.
2 changes: 2 additions & 0 deletions dist/client/ui/admin.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ exports.getActionLogger = getActionLogger;
exports.renderMain = renderMain;
exports.default = renderAdmin;

require('airbnb-js-shims');

var _react = require('react');

var _react2 = _interopRequireDefault(_react);
Expand Down
2 changes: 2 additions & 0 deletions dist/client/ui/preview.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ exports.renderError = renderError;
exports.renderMain = renderMain;
exports.default = renderPreview;

require('airbnb-js-shims');

var _react = require('react');

var _react2 = _interopRequireDefault(_react);
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
},
"dependencies": {
"@kadira/react-split-pane": "^1.2.0",
"airbnb-js-shims": "^1.0.0",
"babel-core": "^6.3.15",
"babel-loader": "^6.2.0",
"babel-polyfill": "^6.3.15",
Expand Down Expand Up @@ -53,7 +54,7 @@
"babel-eslint": "^5.0.0",
"babel-plugin-transform-runtime": "^6.3.14",
"chai": "^3.5.0",
"eslint": "^2.4.0",
"eslint": "^2.7.0",
"eslint-config-airbnb": "^6.2.0",
"eslint-plugin-babel": "^3.1.0",
"eslint-plugin-react": "^4.2.3",
Expand Down
1 change: 1 addition & 0 deletions src/client/ui/admin.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import 'airbnb-js-shims';
import React from 'react';
import ReactDOM from 'react-dom';
import stringify from 'json-stringify-safe';
Expand Down
1 change: 1 addition & 0 deletions src/client/ui/preview.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import 'airbnb-js-shims';
import React from 'react';
import ReactDOM from 'react-dom';
import ReadBox from 'redbox-react';
Expand Down

0 comments on commit 0a5f3d4

Please sign in to comment.