Merge pull request #3613 from swagger-api/bug/3586-promise-polyfill-species-test
Only polyfill `Promise` if it doesn't exist at all
This commit is contained in:
@@ -1,2 +1,5 @@
|
||||
// Promise global, Used ( at least ) by 'whatwg-fetch'. And required by IE 11
|
||||
require("core-js/fn/promise")
|
||||
|
||||
if(!window.Promise) {
|
||||
require("core-js/fn/promise")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user