Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace arrow function with function #2077

Merged
merged 2 commits into from
Nov 29, 2019
Merged

Conversation

kouts
Copy link
Contributor

@kouts kouts commented Nov 28, 2019

Replace arrow function with function in order to fix incompatibility with IE11.

@@ -75,7 +75,7 @@ systemJSPrototype.delete = function (id) {
if (!load || !importerSetters || load.e !== null || load.E)
return false;
// add back the old setters
importerSetters.forEach(setter => {
importerSetters.forEach(function (setter) {
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think that this method offers a solution to a situational problem, not to the whole task at hand.
I'd do it like this:
#2079

Copy link
Collaborator

@joeldenning joeldenning left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants