-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
remove jquery from ember pkg #16130
remove jquery from ember pkg #16130
Conversation
56a1bca
to
c9483d7
Compare
<div id="one"></div> | ||
<div id="two"></div> | ||
`); | ||
document.getElementById('qunit-fixture').innerHTML = |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We have a specialized system in place for this (added in ff9117a). You should be able to do:
class extends ApplicationTestCase {
get fixture() {
return `<div id="one"></div><div id="two"></div>`;
}
}
c9483d7
to
8ac7040
Compare
@rwjblue Looking at the |
No, I can't think of one off the top of my head... |
@rwjblue looks like this line is undefined so it jumps down to the parentNode and passes that to the eventListener. Starts here in the Failing to figure out the exact problem. Seems at this point it may be test setup since I see other tests not using jquery and handling bubbling correctly. |
bd58eb9
to
085a413
Compare
@snewcomer I've experienced a similar issue when I've been removing I've made a pr against your branch with a similar fix (snewcomer#1) |
This change broke 2 other tests:
No matter with or w/o |
fbdbc7a
to
98d184e
Compare
@snewcomer @rwjblue I believe this is a more correct approach snewcomer#2 |
Hmm, @ro0gr I was thinking the issue was regarding this return value in I think that return from let shouldBubble = get(this, 'bubbles') !== false;
if (!shouldBubble) { event.stopPropagation(); }
// ...snip...
return shouldBubble; |
So I'm out of ideas on how to fix @rwjblue @snewcomer What do you think about skipping these 2 |
98d184e
to
6d9b809
Compare
closing for now. |
Down to a few tests.
Something is happening with the click handler
References #16058