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

Add polyfill for angle brackets <LinkTo> #72

Merged
merged 1 commit into from
Jul 14, 2019

Conversation

simonihmig
Copy link
Contributor

Partially implements #66. A follow-up PR for <Input> should be pretty straightforward...

.eslintrc.js Outdated Show resolved Hide resolved
@simonihmig simonihmig force-pushed the builtin-components branch 3 times, most recently from 89eff29 to f596042 Compare July 12, 2019 18:30
@simonihmig simonihmig changed the title WIP: Add polyfill for angle brackets <LinkTo> Add polyfill for angle brackets <LinkTo> Jul 12, 2019
@simonihmig
Copy link
Contributor Author

This now includes #73, which should be merged first, and I'll rebase this afterwards. Other than that this should be ready for review!

Copy link
Member

@rwjblue rwjblue left a comment

Choose a reason for hiding this comment

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

The transform and tests look good to me, we should be able to land once the other PRs are done.

Thanks for working on this!

@rwjblue
Copy link
Member

rwjblue commented Jul 14, 2019

Ok, the other two PR’s are landed. I think CI should be good to go with a rebase...


let route = attributes.find(({ name }) => name === '@route');
let model = attributes.find(({ name }) => name === '@model');
let models = attributes.find(({ name }) => name === '@models');
Copy link
Contributor Author

Choose a reason for hiding this comment

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

We should probably put an assertion here that either model or models is passed, but not both, right? (as specified in the RFC)

Anything else we should cover? (an empty route is valid?)

Copy link
Member

Choose a reason for hiding this comment

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

Ya, empty route is fine. Assertion for both model and models is good.

@simonihmig
Copy link
Contributor Author

Rebased and green now! 🎉

@rwjblue rwjblue merged commit 2d43783 into ember-polyfills:master Jul 14, 2019
@rwjblue
Copy link
Member

rwjblue commented Jul 14, 2019

Thanks for working on this!! Traveling atm but will try to get a release for these out soon.

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.

None yet

2 participants