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

Handle root with gaining sizzle properties #162

Merged
merged 2 commits into from
Aug 27, 2018
Merged

Handle root with gaining sizzle properties #162

merged 2 commits into from
Aug 27, 2018

Conversation

snewcomer
Copy link
Collaborator

@kevinansfield - looks like this is a serious error so cherry picked your commit (I also have it). It's a little verbose (extra function params), but lmk if you have time to review. I'll update ember-infinity if we are ok with this!

Ref #161
close #161

kevinansfield and others added 2 commits August 27, 2018 10:26
closes #160
- `JSON.stringify({root: HtmlElement})` does not generate a stable key because HtmlElements can gain custom properties such as when jQuery adds sizzle cache properties
- adds `-observer-admin._stringifyObserverOptions()` that strips the `root` property when stringifying so that the key is stable
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.

2 participants