Skip to content

Commit fe3c3bc

Browse files
authored
Merge pull request #227 from carlosms/abortcontroller-polyfill
Use abortcontroller polyfill in browser code
2 parents 558c67b + 00995a2 commit fe3c3bc

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

frontend/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
"version": "0.1.0",
44
"private": true,
55
"dependencies": {
6+
"abortcontroller-polyfill": "^1.1.9",
67
"bootstrap": "3",
78
"codemirror": "^5.37.0",
89
"nanoid": "^1.0.3",
@@ -27,7 +28,6 @@
2728
"format": "eslint --fix 'src/**/*.js'"
2829
},
2930
"devDependencies": {
30-
"abortcontroller-polyfill": "^1.1.9",
3131
"eslint-config-airbnb-base": "^12.1.0",
3232
"eslint-config-prettier": "^2.9.0",
3333
"eslint-plugin-jest": "^21.15.1",

frontend/src/index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import React from 'react';
22
import ReactDOM from 'react-dom';
3+
import 'abortcontroller-polyfill/dist/polyfill-patch-fetch';
34
import 'bootstrap/dist/css/bootstrap.css';
45
import './variables.less';
56
import App from './App';

0 commit comments

Comments
 (0)