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

IE11 Support (w/o polyfill) #1

Merged
merged 1 commit into from
Jun 7, 2017
Merged

IE11 Support (w/o polyfill) #1

merged 1 commit into from
Jun 7, 2017

Conversation

XaserAcheron
Copy link
Contributor

This PR is a simple one(two?)-liner that fixes IE11 support. The gist is for... of gets translated by Babel into a bit of code that uses Symbol, which doesn't exist in IE11 (see here for a related issue from another repo). Those of us not using the Babel (or some other Symbol) polyfill are a bit out of luck.

Sadly, this does mean replacing the pretty for... of loop with an ugly ol' for(let i =... construct, but IMO it's better to make this change than require use of a polyfill for a single line of syntactic sugar.

[On a positive note, huge +1 to this addon otherwise. It was posted right at exactly the time I needed to implement this functionality into an app during its last week of development, so you unwittingly prevented a huge dev crunch. Kudos!]

@offirgolan
Copy link
Owner

@XaserAcheron makes sense to me and glad I could help out!

@offirgolan offirgolan merged commit eed20ae into offirgolan:master Jun 7, 2017
@offirgolan
Copy link
Owner

Released with v0.1.1

@XaserAcheron
Copy link
Contributor Author

Aces! Thanks for the quick response.

@XaserAcheron XaserAcheron deleted the ie11-support branch May 14, 2019 18:37
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.

None yet

2 participants