Skip to content
GitLab
Explore
Projects
Groups
Snippets
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Meta
create-react-app
Commits
f6c3215c
Unverified
Commit
f6c3215c
authored
3 years ago
by
philn5d-ar
Committed by
GitHub
3 years ago
Browse files
Options
Download
Email Patches
Plain Diff
Add .finally to IE11 Promise
IE11 polyfill fails to provide .finally, this should do the trick.
parent
b45ae3c9
github/fork/philn5d-ar/patch-1
1 merge request
!11414
Add .finally to IE11 Promise
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
packages/react-app-polyfill/ie11.js
+1
-0
packages/react-app-polyfill/ie11.js
with
1 addition
and
0 deletions
+1
-0
packages/react-app-polyfill/ie11.js
+
1
-
0
View file @
f6c3215c
...
...
@@ -12,6 +12,7 @@ if (typeof Promise === 'undefined') {
// and the user has no idea what causes React's erratic future behavior.
require
(
'
promise/lib/rejection-tracking
'
).
enable
();
self
.
Promise
=
require
(
'
promise/lib/es6-extensions.js
'
);
self
.
Promise
=
require
(
'
promise/lib/finally.js
'
);
}
// Make sure we're in a Browser-like environment before importing polyfills
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Snippets