Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

added ie polyfill for react/babel

Benjamind86b10b9e6e2
diff --git a/deploy/wv.js.json b/deploy/wv.js.json
index dde6b1f54..36b02e03c 100644
--- a/deploy/wv.js.json
+++ b/deploy/wv.js.json
@@ -1,5 +1,6 @@
{
"wv.js": [
+ "node_modules/babel-polyfill/dist/polyfill.js",
"node_modules/openlayers/dist/ol-debug.js",
"node_modules/react/dist/react.js",
"node_modules/react-dom/dist/react-dom.js",
diff --git a/package.json b/package.json
index 0c0b505a4..3c1d2a65c 100644
--- a/package.json
+++ b/package.json
@@ -9,6 +9,7 @@
"test": "grunt test lint"
},
"devDependencies": {
+ "babel-polyfill": "^6.16.0",
"bluebird": "^3.4.6",
"buster": "0.7.12",
"gifshot": "^0.3.2",
diff --git a/web/index.html b/web/index.html
index ba0a35a91..bf377344d 100644
--- a/web/index.html
+++ b/web/index.html
@@ -96,6 +96,7 @@
<!-- External libraries =============================================== -->
+ <!-- link.dev --> <script type="text/javascript" src="../node_modules/babel-polyfill/dist/polyfill.js"></script>
<!-- link.dev --> <script type="text/javascript" src="../node_modules/react/dist/react.js"></script>
<!-- link.dev --> <script type="text/javascript" src="../node_modules/react-dom/dist/react-dom.js"></script>
<!-- link.dev --> <script type="text/javascript" src="../node_modules/worldview-timeline-components/browser/wvtc.js"></script>