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

Make a "real" polyfill? #12

Closed
rwjblue opened this issue Aug 4, 2017 · 1 comment
Closed

Make a "real" polyfill? #12

rwjblue opened this issue Aug 4, 2017 · 1 comment

Comments

@rwjblue
Copy link
Contributor

rwjblue commented Aug 4, 2017

Ideally, this means:

  • Updating to provide self.WeakMap if not present
  • Update to ember-cli-babel@6, and use the data from babel-preset-env to have no effect on final asset size if this.project.targets includes only browsers with native weakmap

Some examples of this transition:

The tricky bit will likely be determining if all supported browsers have native weakmaps (but that also sounds like the fun part 😝 ).

@thoov
Copy link
Owner

thoov commented Aug 4, 2017

Will do @rwjblue. Thanks for the links. I should have this done over the weekend and I will add you to the PR so you can take a look.

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

No branches or pull requests

2 participants