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

feature-detect for ES6 Map, Set, WeakMap and WeakSet #1396

Merged
merged 1 commit into from Nov 27, 2015

Conversation

jokeyrhyme
Copy link
Contributor

This feature detect shows whether the new collections constructors for ES6 are supported: Map, Set, WeakMap and WeakSet.

Chrome implements all 4, but hides 2 behind a flag. Firefox implements 3.

Polymer requires WeakMap, so detecting this may allow us to skip loading the poly-fill in upcoming browsers.

Part of #1170.

@patrickkettner
Copy link
Member

@jokeyrhyme somehow I missed this, do you wanna rebase off of master?

@jokeyrhyme
Copy link
Contributor Author

@patrickkettner all rebased and theoretically good to go :)

patrickkettner added a commit that referenced this pull request Nov 27, 2015
feature-detect for ES6 Map, Set, WeakMap and WeakSet
@patrickkettner patrickkettner merged commit 17d26ca into Modernizr:master Nov 27, 2015
@patrickkettner
Copy link
Member

you're a really cool dude, you know that?

@jokeyrhyme
Copy link
Contributor Author

@patrickkettner thanks, that's really life-affirming of you. :) I think that you are also a really cool dude. :)

@jokeyrhyme jokeyrhyme deleted the es6collections branch November 27, 2015 02:38
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