Skip to content

Commit

Permalink
Merge pull request #459 from Kitware/fix-ie
Browse files Browse the repository at this point in the history
Add polyfill to support IE
  • Loading branch information
jeffbaumes committed Oct 24, 2016
2 parents 0bd7ae5 + cfd0f24 commit 23c6cd4
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions app/resonantlab/mainPage.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import 'babel-polyfill';

import Backbone from 'backbone';
import d3 from 'd3';
import is from 'is_js';
Expand Down
2 changes: 1 addition & 1 deletion app/resonantlab/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ var fs = require('fs');
var webpack = require('webpack');
var GruntWatchPlugin = require('./grunt-watch-plugin.js');

var entry = ['./mainPage.js'];
var entry = ['babel-polyfill', './mainPage.js'];

var gaKey = process.env.GOOGLE_ANALYTICS_KEY;
if (gaKey) {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
"babel-core": "^6.4.5",
"babel-istanbul-loader": "^0.1.0",
"babel-loader": "^6.2.1",
"babel-polyfill": "^6.9.0",
"babel-polyfill": "^6.16.0",
"babel-preset-es2015": "^6.3.13",
"backbone": "^1.2.3",
"bluebird": "^3.3.5",
Expand Down

0 comments on commit 23c6cd4

Please sign in to comment.