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 jQuery from interactor and components #220

Merged
4 commits merged into from
Jun 28, 2019
Merged

Remove jQuery from interactor and components #220

4 commits merged into from
Jun 28, 2019

Conversation

FabHof
Copy link
Contributor

@FabHof FabHof commented Apr 26, 2019

This solves #219

@ghost
Copy link

ghost commented Jun 17, 2019

@FabHof thank you for making this improvement! Could you fix the linting error noted by the CI failure?

@FabHof
Copy link
Contributor Author

FabHof commented Jun 26, 2019

Linting error fixed

package.json Outdated
@@ -1,6 +1,6 @@
{
"name": "ember-pikaday",
"version": "2.3.1",
"version": "2.3.2-lessjQuery",
Copy link

Choose a reason for hiding this comment

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

Could you remove this change please?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

That should not have been pushed. sorry

Copy link

Choose a reason for hiding this comment

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

No problem!

@ghost
Copy link

ghost commented Jun 26, 2019

I think we can remove this line as well: https://github.com/adopted-ember-addons/ember-pikaday/blob/master/package.json#L26

if (this.get('pikaday').getDate() === null || isEmpty(this.$().val())) {
if (
this.get('pikaday').getDate() === null ||
isEmpty(this.get('element.value'))
Copy link

Choose a reason for hiding this comment

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

this.elment = dom element, don't think we can access dom properties using ember getter.
this.get('element').value

@FabHof FabHof closed this Jun 27, 2019
@FabHof FabHof reopened this Jun 27, 2019
@ghost
Copy link

ghost commented Jun 27, 2019

@FabHof give we modified the package.json, I think we have to rebuild the yarn.lock. Could you run yarn install --update-lock and commit the yarn.lock changes?
From there, we will merge and release a minor version. Thank you again for making this addon svelte!

@ghost ghost merged commit 2085793 into adopted-ember-addons:master Jun 28, 2019
ghost pushed a commit that referenced this pull request Jul 5, 2019
@ghost ghost mentioned this pull request Jul 5, 2019
@ghost ghost mentioned this pull request Feb 10, 2020
This pull request was closed.
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