Skip to content

[FEATURE modernized-built-in-components] Initial implementation#19184

Merged
rwjblue merged 2 commits intomasterfrom
refactor-input-component
Oct 12, 2020
Merged

[FEATURE modernized-built-in-components] Initial implementation#19184
rwjblue merged 2 commits intomasterfrom
refactor-input-component

Conversation

@chancancode
Copy link
Member

@chancancode chancancode commented Oct 5, 2020

Adds the feature flag for RFC #671 and start implementing some of the proposed deprecations. The deprecations are gated behind the feature flag so they won't be visible until the RFC is merged and the feature is enabled.

This implements some of the deprecations proposed in [RFC #671][1].
The deprecations are gated behind the feature flag so they won't be
visible until the RFC is merged and the feature is enabled.

[1]: emberjs/rfcs#671
if (featureValue === true || featureValue === false) {
return featureValue;
if (value === true || value === false) {
return value;
Copy link
Member Author

Choose a reason for hiding this comment

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

I think I did this because at one point the linter complained that featureValue is already defined in the outer scope (the function on L67). Not sure why it was complaining then and why it stopped complaining now, but it seems good to address it anyway since it can indeed be a bit confusing.

@rwjblue rwjblue merged commit 57543c9 into master Oct 12, 2020
@rwjblue rwjblue deleted the refactor-input-component branch October 12, 2020 22:37
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