Skip to content

Conversation

@thibaultzanini
Copy link
Contributor

Preparatory works for buffered DOM changes.


_bufferedElementsAttributeValues: {
get: function () {
return this.__bufferedElementsAttributeValues || (this.__bufferedElementsAttributeValues = 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.

Should be WeakMap as we don't want to hold on "gone" elements

Copy link
Contributor Author

Choose a reason for hiding this comment

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

A weak map can't be iterated.

@hthetiot hthetiot added this to the Future milestone Apr 12, 2017
@hthetiot hthetiot modified the milestones: v18.x, Future Apr 12, 2017
@hthetiot hthetiot requested review from hthetiot and marchant July 13, 2017 01:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants