Skip to content

Conversation

Antonio-Laguna
Copy link
Contributor

No description provided.

"devDependencies": {
"eslint-config-firstandthird": "3.2.0",
"eslint-plugin-import": "^2.1.0",
"map-polyfill": "0.0.1",
Copy link
Member

Choose a reason for hiding this comment

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

what is this for?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

So phantom is happy

@@ -0,0 +1,61 @@
const storage = new Map();
Copy link
Member

Choose a reason for hiding this comment

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

what does this turn into after running through babel? A little worried that this bloats the code

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Nothing strange, Map is well supported.

Copy link
Member

Choose a reason for hiding this comment

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

if we have to support anything older than IE 11, this will error, right?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It will yes, but that'd the least of our problems, lots of things are being used with no support below IE11. Attrobj being the first one which is deep into Domodule. Can use a regular object if you'd still like to strike for IE10 support but this is more performant for the use we are doing.

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.

2 participants