From d4d03eac12488684b5f1b6e44279b8dd1e903a73 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ken-H=C3=A5vard=20Lieng?= Date: Mon, 30 Apr 2018 22:41:12 +0200 Subject: [PATCH] Add promise polyfill --- client/package.json | 1 + client/src/js/index.js | 1 + client/yarn.lock | 2 +- 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/client/package.json b/client/package.json index e35b929d..150c5ff8 100644 --- a/client/package.json +++ b/client/package.json @@ -49,6 +49,7 @@ "autolinker": "^1.4.3", "backo": "^1.1.0", "base64-arraybuffer": "^0.1.5", + "es6-promise": "^4.2.4", "fontfaceobserver": "^2.0.9", "history": "4.5.1", "immer": "^1.2.1", diff --git a/client/src/js/index.js b/client/src/js/index.js index b642a083..dc441143 100644 --- a/client/src/js/index.js +++ b/client/src/js/index.js @@ -1,3 +1,4 @@ +import 'es6-promise/auto'; import React from 'react'; import { render } from 'react-dom'; diff --git a/client/yarn.lock b/client/yarn.lock index 60be9751..a32dbe32 100644 --- a/client/yarn.lock +++ b/client/yarn.lock @@ -2512,7 +2512,7 @@ es-to-primitive@^1.1.1: is-date-object "^1.0.1" is-symbol "^1.0.1" -es6-promise@^4.1.1: +es6-promise@^4.1.1, es6-promise@^4.2.4: version "4.2.4" resolved "https://registry.yarnpkg.com/es6-promise/-/es6-promise-4.2.4.tgz#dc4221c2b16518760bd8c39a52d8f356fc00ed29"