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

WIP: Add support for ember-component-attributes addon #218

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

tylerturdenpants
Copy link
Collaborator

fixes #207

@tylerturdenpants tylerturdenpants changed the title fix link-to with html-attributes [WIP] fix link-to with html-attributes Dec 27, 2019
// eslint-disable-next-line no-unused-vars
let [_, secondParamInput] = params;
if (secondParamInput.type === 'SubExpression') {
let htmlAttrs;
if (secondParamInput.path.original === 'html-attributes') {
Copy link
Collaborator

Choose a reason for hiding this comment

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

I'm not sure if we should do this only for the second param. The addon works for any param AFAIK. Seems like it also only works for LinkTo here?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I agree. I thought it would be a good idea if I included you in the discussion as I worked on it so I could get your feedback. I only had enough time yesterday to tackle a little bit of the problem. 😄

@Turbo87 Turbo87 added enhancement New feature or request and removed wip labels Dec 30, 2019
@Turbo87 Turbo87 changed the title [WIP] fix link-to with html-attributes WIP: Add support for ember-component-attributes addon Dec 30, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add support for ember-component-attributes addon
2 participants