-
Notifications
You must be signed in to change notification settings - Fork 169
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
Conversation
@FabHof thank you for making this improvement! Could you fix the linting error noted by the CI failure? |
Linting error fixed |
package.json
Outdated
@@ -1,6 +1,6 @@ | |||
{ | |||
"name": "ember-pikaday", | |||
"version": "2.3.1", | |||
"version": "2.3.2-lessjQuery", |
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.
Could you remove this change please?
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.
That should not have been pushed. sorry
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.
No problem!
I think we can remove this line as well: https://github.com/adopted-ember-addons/ember-pikaday/blob/master/package.json#L26 |
addon/components/pikaday-input.js
Outdated
if (this.get('pikaday').getDate() === null || isEmpty(this.$().val())) { | ||
if ( | ||
this.get('pikaday').getDate() === null || | ||
isEmpty(this.get('element.value')) |
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.
this.elment = dom element, don't think we can access dom properties using ember getter.
this.get('element').value
@FabHof give we modified the |
This solves #219