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

Remove usage of jquery in components #109

Conversation

josemarluedke
Copy link
Contributor

Partial implementation for #105.

There are jquery usage in the test helper triggerSwipeEvent that I haven't figure out a migration yet, but it would be awesome if we can get this merged in.

@@ -0,0 +1,19 @@
// https://developer.mozilla.org/en-US/docs/Web/API/Element/closest

if (typeof FastBoot === 'undefined') {
Copy link
Collaborator

Choose a reason for hiding this comment

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

@josemarluedke this polyfill is pretty sketchy since it will end up in the host app. Can we instead transform this into a utility method that the addon can leverage?

@josemarluedke josemarluedke force-pushed the remove-jquery-usage-of-components branch from f80b71b to b45649b Compare July 30, 2018 03:38
@josemarluedke josemarluedke force-pushed the remove-jquery-usage-of-components branch from b45649b to be2f7a1 Compare July 30, 2018 03:38
@josemarluedke
Copy link
Contributor Author

@offirgolan Pull request updated. Please take a look again.

@offirgolan
Copy link
Collaborator

@josemarluedke awesome! Thank you for taking the time to do this 😄

@offirgolan offirgolan merged commit 421b0d1 into adopted-ember-addons:master Jul 30, 2018
@josemarluedke josemarluedke deleted the remove-jquery-usage-of-components branch July 30, 2018 16:43
@josemarluedke josemarluedke restored the remove-jquery-usage-of-components branch July 30, 2018 16:43
@offirgolan
Copy link
Collaborator

Released with v3.2.0.

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