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

Fix regression related to DOM structure. #160

Merged
merged 2 commits into from
Jun 7, 2016

Conversation

rwjblue
Copy link
Member

@rwjblue rwjblue commented Jun 7, 2016

Ensures that this.$() from within a test represents the same structure as prior versions.

Ultimately, I would prefer for this.$() to refer to the inner HTML (basically what is rendered by the template provided to this.render), but changing the underlying structure is definitely not good without proper messaging (and likely major version bump).

Fixes #159.

rwjblue added 2 commits June 7, 2016 10:49
Ensures that `this.$()` from within a test represents the same structure
as prior versions.

Ultimately, I would prefer for `this.$()` to refer to the inner HTML
(basically what is rendered by the template provided to `this.render`),
but changing the underlying structure is definitely not good without
proper messaging (and likely major version bump).
In Ember 1.11 and 1.12 the top level outlet is not (by default) wrapped
in a view (causing the fixes from the prior commit to fail).
@rwjblue rwjblue force-pushed the fix-dom-structure branch from 5c16d96 to 8801f13 Compare June 7, 2016 15:19
@rwjblue rwjblue merged commit 5e8330a into emberjs:master Jun 7, 2016
@rwjblue rwjblue deleted the fix-dom-structure branch June 7, 2016 15:29
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.

1 participant